0_0_33857704_5780.cpp: In function 'int main()': 0_0_33857704_5780.cpp:20:9: error: expected ';' before 'if' if(((n+1)/2)%2==0) {A=b;B=a;} ^