Problem minimum
User AppleOnAstick
Submission Time 2023-11-09 09:47:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int32_t main()’:
minimum.cpp:7:22: error: ‘N’ was not declared in this scope
7 | for (int i = 0; i < N; ++i) {
| ^
minimum.cpp:9:18: error: ‘A’ was not declared in this scope
9 | cur = min(cur, A[i]);
| ^
minimum.cpp:10:11: error: ‘minimum’ was not declared in this scope
10 | return minimum;
| ^~~~~~~
minimum.cpp:11:2: error: expected ‘}’ at end of input
11 | }
| ^
minimum.cpp:5:16: note: to match this ‘{’
5 | int32_t main() {
| ^