Problem | eeducation |
---|---|
User | kiwiwi |
Submission Time | 2025-06-17 12:03:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eeducation.cpp: In function ‘void reverseArray()’:
eeducation.cpp:8:13: error: ‘arr’ was not declared in this scope
8 | int n = arr.size();
| ^~~
eeducation.cpp:18:9: error: return-statement with a value, in function returning ‘void’ [-fpermissive]
18 | return temp;
| ^~~~
eeducation.cpp: In function ‘int main()’:
eeducation.cpp:40:16: error: too many arguments to function ‘void reverseArray()’
40 | reverseArray(A);
| ^
eeducation.cpp:7:6: note: declared here
7 | void reverseArray() {
| ^~~~~~~~~~~~
eeducation.cpp:41:16: error: too many arguments to function ‘void reverseArray()’
41 | reverseArray(B);
| ^
eeducation.cpp:7:6: note: declared here
7 | void reverseArray() {
| ^~~~~~~~~~~~
eeducation.cpp:48:13: error: ‘result’ was not declared in this scope
48 | result.push_back(num);