Problem minimum
User infraredflames
Submission Time 2025-03-02 08:35:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:2:2: error: ‘temp’ was not declared in this scope
2 | temp = 0;
| ^~~~
minimum.cpp:3:16: error: expected ‘;’ before ‘<’ token
3 | for(int i=0, i<N, i++){
| ^
| ;
minimum.cpp:3:16: error: expected primary-expression before ‘<’ token
minimum.cpp:3:23: error: expected ‘;’ before ‘)’ token
3 | for(int i=0, i<N, i++){
| ^
| ;
minimum.cpp:8:13: error: expected ‘;’ before ‘}’ token
8 | return temp
| ^
| ;
9 | }
| ~