Problem smurf
User 2Princes1Lance
Submission Time 2023-12-02 00:32:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

smurf.cpp: In function ‘int main()’:
smurf.cpp:44:3: error: ‘deque’ was not declared in this scope
44 | deque<long long> row2;
| ^~~~~
smurf.cpp:44:9: error: expected primary-expression before ‘long’
44 | deque<long long> row2;
| ^~~~
smurf.cpp:47:5: error: ‘row2’ was not declared in this scope; did you mean ‘row’?
47 | row2.push_front(smurf[i]);
| ^~~~
| row
smurf.cpp:50:5: error: ‘row2’ was not declared in this scope; did you mean ‘row’?
50 | row2.push_back(smurf[i]);
| ^~~~
| row
smurf.cpp:54:12: error: ‘row2’ was not declared in this scope; did you mean ‘row’?
54 | cout << row2[i] << " ";
| ^~~~
| row
smurf.cpp: At global scope:
smurf.cpp:58:1: error: expected declaration before ‘}’ token
58 | }
| ^