Problem | leftright |
---|---|
User | xragon |
Submission Time | 2024-12-11 17:00:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
leftright.cpp: In function ‘int main()’:
leftright.cpp:18:36: error: expected ‘;’ before ‘)’ token
18 | for (int l = 0; l < d1.size()/2) {
| ^
| ;
leftright.cpp:19:20: error: expected ‘;’ before ‘d2’
19 | d1.pop_front()
| ^
| ;
20 | d2.push_back(d1.front())
| ~~
leftright.cpp:24:40: error: expected ‘;’ before ‘)’ token
24 | for (int l = 0; l < d1.size()/2 + 1) {
| ^
| ;
leftright.cpp:25:20: error: expected ‘;’ before ‘d2’
25 | d1.pop_front()
| ^
| ;
26 | d2.push_back(d1.front())
| ~~
leftright.cpp:30:31: error: expected ‘;’ before ‘)’ token
30 | for (i