Problem wrongreverse
User niicoletong
Submission Time 2025-06-20 16:00:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wrongreverse.cpp: In function ‘int main()’:
wrongreverse.cpp:29:17: error: no match for call to ‘(std::vector<int>) (int&)’
29 | cout << a(n);
| ^
wrongreverse.cpp:35:1: error: expected ‘}’ at end of input
35 | }
| ^
wrongreverse.cpp:10:30: note: to match this ‘{’
10 | for (int i = 0; i < n; i++) {
| ^
wrongreverse.cpp:35:1: error: expected ‘}’ at end of input
35 | }
| ^
wrongreverse.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^