Problem | minimum |
---|---|
User | newplayer |
Submission Time | 2024-02-07 18:20:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:6:2: error: ‘lowest’ was not declared in this scope
6 | lowest = A[0];
| ^~~~~~
minimum.cpp:7:16: error: expected primary-expression before ‘int’
7 | for (int i:int A) {
| ^~~
minimum.cpp:7:16: error: expected ‘)’ before ‘int’
7 | for (int i:int A) {
| ~ ^~~
| )
minimum.cpp:7:21: error: expected initializer before ‘)’ token
7 | for (int i:int A) {
| ^