| Problem | minimum |
|---|---|
| User | yuanbin |
| Submission Time | 2026-01-22 16:14:02 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i=0, i<N, i++){
| ^
minimum.cpp:12:2: error: expected primary-expression before ‘return’
12 | return res
| ^~~~~~
minimum.cpp:11:3: error: expected ‘;’ before ‘return’
11 | }
| ^
| ;
12 | return res
| ~~~~~~
minimum.cpp:12:2: error: expected primary-expression before ‘return’
12 | return res
| ^~~~~~
minimum.cpp:11:3: error: expected ‘)’ before ‘return’
11 | }
| ^
| )
12 | return res
| ~~~~~~
minimum.cpp:7:6: note: to match this ‘(’
7 | for (i=0, i<N, i++){
| ^
minimum.cpp:12:12: error: expected ‘;’ before ‘}’ token
12 | return res
| ^
| ;
13 | }
| ~