Problem minimum
User ZiErn
Submission Time 2023-11-09 09:45:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:8:22: error: expected ‘;’ before ‘}’ token
8 | cur = min(cur,A[i])
| ^
| ;
9 | }
| ~
minimum.cpp:10:9: error: ‘cur’ was not declared in this scope
10 | return cur;
| ^~~