Problem minimum
User thisisapoyo
Submission Time 2026-08-09 10:48:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp:1:26: error: expected ‘,’ or ‘...’ before ‘A’
1 | int findMin(int A, int[] A){
| ^
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:4:22: error: ‘begin’ was not declared in this scope
4 | for (const int &i : A){
| ^
minimum.cpp:4:22: error: ‘end’ was not declared in this scope
minimum.cpp:10:12: error: expected ‘}’ at end of input
10 | return min;
| ^
minimum.cpp:1:28: note: to match this ‘{’
1 | int findMin(int A, int[] A){
| ^