0_0_33522860_12933.cpp: In function 'int main()':
0_0_33522860_12933.cpp:18:33: error: expected ';' before 'if'
if(q) cout<<endl if(((n+1)/2)%2==0) {A=b;B=a;}
^
0_0_33522860_12933.cpp:24:20: error: expected ')' before '}' token
if(i==1}
^
0_0_33522860_12933.cpp:24:20: error: expected primary-expression before '}' token
0_0_33522860_12933.cpp:31:16: error: 'i' was not declared in this scope
if(i==n-1)
^
0_0_33522860_12933.cpp:39:16: error: 'i' was not declared in this scope
if(i<n/2+1) {
^
0_0_33522860_12933.cpp: At global scope:
0_0_33522860_12933.cpp:74:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_33522860_12933.cpp:75:1: error: expected declaration before '}' token
}
^
|