Problem leftright
User chickengoat
Submission Time 2026-01-09 13:26:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

leftright.cpp: In function ‘int main()’:
leftright.cpp:19:8: error: expected ‘}’ at end of input
19 | y/=2;
| ^
leftright.cpp:18:15: note: to match this ‘{’
18 | if(y%2==0) {
| ^
leftright.cpp:19:8: error: expected ‘}’ at end of input
19 | y/=2;
| ^
leftright.cpp:16:8: note: to match this ‘{’
16 | else {
| ^
leftright.cpp:19:8: error: expected ‘}’ at end of input
19 | y/=2;
| ^
leftright.cpp:8:22: note: to match this ‘{’
8 | for(ll i=0;i<q;i++) {
| ^
leftright.cpp:19:8: error: expected ‘}’ at end of input
19 | y/=2;
| ^
leftright.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^