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

Compile Error

minimum.cpp:3:24: error: ‘A’ was not declared in this scope
3 | int findMin(int N, int[A]){
| ^
minimum.cpp: In function ‘int findMin(int)’:
minimum.cpp:4:11: error: ‘A’ was not declared in this scope
4 | int ans =A[0];
| ^
minimum.cpp:5:24: error: expected ‘)’ before numeric constant
5 | for (int i=0; i<N; i++0{
| ~ ^
| )
minimum.cpp:5:25: error: expected ‘;’ before ‘{’ token
5 | for (int i=0; i<N; i++0{
| ^
| ;
minimum.cpp:8:2: error: expected ‘}’ at end of input
8 | }
| ^
minimum.cpp:3:27: note: to match this ‘{’
3 | int findMin(int N, int[A]){
| ^