Problem maximum
User Yannwen09
Submission Time 2023-11-09 09:50:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

maximum.cpp: In function ‘int findMin(int, int*)’:
maximum.cpp:7:23: error: expected ‘)’ before numeric constant
7 | ans = min (ans, A[i]0;
| ~ ^
| )
maximum.cpp:10:1: error: expected ‘}’ at end of input
10 | }
| ^
maximum.cpp:4:29: note: to match this ‘{’
4 | int findMin(int N, int A[]) {
| ^