Problem | lowelements |
---|---|
User | blob |
Submission Time | 2023-12-11 10:29:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lowelements.cpp: In function ‘int countLowELements(int, int*)’:
lowelements.cpp:9:15: error: ‘permuation’ was not declared in this scope; did you mean ‘permutation’?
9 | minSoFar = permuation[i];
| ^~~~~~~~~~
| permutation
lowelements.cpp: In function ‘int main()’:
lowelements.cpp:19:24: error: expected ‘;’ before ‘}’ token
19 | cin >> permutation[i]
| ^
| ;
20 | }
| ~
lowelements.cpp:21:47: error: ‘i’ was not declared in this scope
21 | int result = countLowElements(N, permutation[i]);
| ^
lowelements.cpp:21:15: error: ‘countLowElements’ was not declared in this scope; did you mean ‘countLowELements’?
21 | int result = countLowElements(N, permutation[i]);
| ^~~~~~~~~~~~~~~~
| countLowELe