Problem | smurf |
---|---|
User | justin271828 |
Submission Time | 2023-06-09 11:40:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
smurf.cpp: In function ‘int main()’:
smurf.cpp:8:2: error: expected initializer before ‘for’
8 | for (int i = 0; i < N; i++) {
| ^~~
smurf.cpp:8:18: error: ‘i’ was not declared in this scope
8 | for (int i = 0; i < N; i++) {
| ^
smurf.cpp:14:16: error: ‘arr’ was not declared in this scope
14 | d.push_back(arr[i]);
| ^~~
smurf.cpp:17:17: error: ‘arr’ was not declared in this scope
17 | d.push_front(arr[i]);
| ^~~