Problem minimum
User Xinlan
Submission Time 2023-11-10 11:14:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:6:11: error: expected unqualified-id before numeric constant
6 | for (int 1=0; i<N; i++){
| ^
minimum.cpp:6:10: error: expected ‘;’ before numeric constant
6 | for (int 1=0; i<N; i++){
| ^~
| ;
minimum.cpp:6:13: error: lvalue required as left operand of assignment
6 | for (int 1=0; i<N; i++){
| ^
minimum.cpp:6:16: error: ‘i’ was not declared in this scope
6 | for (int 1=0; i<N; i++){
| ^
minimum.cpp:6:19: error: expected ‘)’ before ‘;’ token
6 | for (int 1=0; i<N; i++){
| ~ ^
| )
minimum.cpp:6:21: error: ‘i’ was not declared in this scope
6 | for (int 1=0; i<N; i++){
| ^