0_0_32614847_12849.cpp: In function 'int main()':
0_0_32614847_12849.cpp:27:10: error: 'scan' was not declared in this scope
scan(t);
^
0_0_32614847_12849.cpp:31:7: error: expected ';' before 'num'
num[0] = num[n+1] = -1;
^
0_0_32614847_12849.cpp:45:7: error: expected ';' before 'if'
if(a==2) printf("%d\n",getsum(c) - getsum(b-1) + (int)(num[b-1]==num[b]));
^
0_0_32614847_12849.cpp:46:7: error: 'else' without a previous 'if'
else{
^
|