Problem | minimum |
---|---|
User | Anonymous35V |
Submission Time | 2023-11-09 09:44:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int main()’:
minimum.cpp:6:14: error: expected ‘,’ or ‘;’ before numeric constant
6 | int cur= 10 000 000;
| ^~~
minimum.cpp:7:19: error: expected ‘;’ before ‘<’ token
7 | for (int i = 0, i < N; i++);
| ^~
| ;
minimum.cpp:7:20: error: expected primary-expression before ‘<’ token
7 | for (int i = 0, i < N; i++);
| ^
minimum.cpp:7:22: error: ‘N’ was not declared in this scope
7 | for (int i = 0, i < N; i++);
| ^
minimum.cpp:8:14: error: ‘A’ was not declared in this scope
8 | cur=min(cur,A[i]);
| ^
minimum.cpp:8:16: error: ‘i’ was not declared in this scope
8 | cur=min(cur,A[i]);
| ^