Problem minimum
User vadar2525
Submission Time 2025-07-14 14:36:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:3:2: error: ‘cin’ was not declared in this scope
3 | cin >> N;
| ^~~
minimum.cpp:4:20: error: ‘n’ was not declared in this scope
4 | for(int i = 0; i < n; i++){
| ^
minimum.cpp:9:1: error: expected ‘}’ at end of input
9 | }
| ^
minimum.cpp:1:28: note: to match this ‘{’
1 | int findMin(int N, int A[]){
| ^