Problem | minimum |
---|---|
User | JK13 |
Submission Time | 2023-11-09 09:48:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp:6:31: error: ‘int findMin(int, int*)’ redeclared as different kind of entity
6 | int findMin(int N, int A[]);
| ^
minimum.cpp:4:5: note: previous declaration ‘int findMin’
4 | int findMin;
| ^~~~~~~
minimum.cpp:7:5: error: expected unqualified-id before ‘for’
7 | for (int i=0; i<N;++i) {
| ^~~
minimum.cpp:7:19: error: ‘i’ does not name a type
7 | for (int i=0; i<N;++i) {
| ^
minimum.cpp:7:23: error: expected unqualified-id before ‘++’ token
7 | for (int i=0; i<N;++i) {
| ^~
minimum.cpp:10:5: error: expected unqualified-id before ‘return’
10 | return x;
| ^~~~~~