| Problem | reverse |
|---|---|
| User | chenyuming |
| Submission Time | 2026-11-02 14:24:18 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
reverse.cpp: In function ‘int main()’:
reverse.cpp:8:7: error: conflicting declaration ‘auto N’
8 | list[N];
| ^
reverse.cpp:6:6: note: previous declaration as ‘int N’
6 | int N;
| ^
reverse.cpp:8:9: error: expected initializer before ‘;’ token
8 | list[N];
| ^
reverse.cpp:9:6: error: ‘i’ was not declared in this scope
9 | for(i = 0; i < N; i++){
| ^
reverse.cpp:10:14: error: missing template arguments before ‘[’ token
10 | cin >> list[N]
| ^
reverse.cpp:12:22: error: missing template arguments before ‘)’ token
12 | cout << reverse(list);
| ^