Problem | minimum |
---|---|
User | chinesewarcriminal |
Submission Time | 2024-04-20 20:17:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:21: error: ‘arr’ was not declared in this scope
5 | long long ans = arr[0]
| ^~~
minimum.cpp:6:19: error: ‘i’ was not declared in this scope
6 | for (int i=0; i<N; i++) {
| ^
minimum.cpp:11:15: error: expected ‘;’ before ‘}’ token
11 | return ans
| ^
| ;
12 | }
| ~