Problem minimum
User YII1719
Submission Time 2023-11-09 09:49:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:6:19: error: ‘n’ was not declared in this scope
6 | for(int i=0;i<n;i++){
| ^
minimum.cpp:7:20: error: expected ‘)’ before ‘;’ token
7 | cur=min(cur;A[i]);
| ~ ^
| )
minimum.cpp:7:25: error: expected ‘;’ before ‘)’ token
7 | cur=min(cur;A[i]);
| ^
| ;