Problem leftright
User xragon
Submission Time 2024-12-11 17:00:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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:24:40: error: expected ‘;’ before ‘)’ token
24 | for (int l = 0; l < d1.size()/2 + 1) {
| ^
| ;
leftright.cpp:30:31: error: expected ‘;’ before ‘)’ token
30 | for (int k = 0; k < d1.size()) {
| ^
| ;
leftright.cpp:33:31: error: expected ‘;’ before ‘)’ token
33 | for (int c = 0; c < d2.size()) {
| ^
| ;
leftright.cpp:37:2: error: expected ‘}’ at end of input
37 | }
| ^
leftright.cpp:4:15: note: to match this ‘{’