Problem minimum
User pinglynn
Submission Time 2023-11-09 09:47:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:7:26: error: expected ‘;’ before ‘}’ token
7 | cur=min(cur,A[i])
| ^
| ;
8 | }
| ~
minimum.cpp: At global scope:
minimum.cpp:11:1: error: expected unqualified-id before ‘return’
11 | return cur
| ^~~~~~