Problem minimum
User tomatofrog0w0
Submission Time 2023-11-09 09:39:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘long long int findMin(long long int, long long int*)’:
minimum.cpp:6:8: error: ‘i’ was not declared in this scope
6 | for (i=0; i < N; i++){
| ^
minimum.cpp:7:22: error: expected ‘)’ before ‘]’ token
7 | int x= min (A[i], x]
| ~ ^
| )
minimum.cpp:11:1: error: expected ‘}’ at end of input
11 | }
| ^
minimum.cpp:5:30: note: to match this ‘{’
5 | int findMin (int N, int A[]){
| ^