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

Compile Error

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