0_0_21600711_5333.cpp:48:36: error: stray '#' in program
if (op[0] == 'E') break;
^
0_0_21600711_5333.cpp:48:42: error: stray '#' in program
if (op[0] == 'E') break;
^
0_0_21600711_5333.cpp:51:36: error: stray '#' in program
if (op[0] == 'Q') printf("%d\n",query(a , b , 1 , n , 1));
^
0_0_21600711_5333.cpp:51:42: error: stray '#' in program
if (op[0] == 'Q') printf("%d\n",query(a , b , 1 , n , 1));
^
0_0_21600711_5333.cpp:52:41: error: stray '#' in program
else if (op[0] == 'S') update(a , -b , 1 , n , 1);
^
0_0_21600711_5333.cpp:52:47: error: stray '#' in program
else if (op[0] == 'S') update(a , -b , 1 , n , 1);
^
0_0_21600711_5333.cpp: In function 'int main()':
0_0_21600711_5333.cpp:48:37: error: lvalue required as unary '&' operand
if (op[0] == 'E') break;
^
0_0_21600711_5333.cpp:48:39: error: expected ')' before ';' token
if (op[0] == 'E') break;
^
0_0_21600711_5333.cpp:48:40: error: 'E' was not declared in this scope
if (op[0] == 'E') break;
^
0_0_21600711_5333.cpp:48:46: error: expected primary-expression before ')' token
if (op[0] == 'E') break;
^
0_0_21600711_5333.cpp:51:37: error: lvalue required as unary '&' operand
if (op[0] == 'Q') printf("%d\n",query(a , b , 1 , n , 1));
^
0_0_21600711_5333.cpp:51:39: error: expected ')' before ';' token
if (op[0] == 'Q') printf("%d\n",query(a , b , 1 , n , 1));
^
0_0_21600711_5333.cpp:51:40: error: 'Q' was not declared in this scope
if (op[0] == 'Q') printf("%d\n",query(a , b , 1 , n , 1));
^
0_0_21600711_5333.cpp:51:46: error: expected primary-expression before ')' token
if (op[0] == 'Q') printf("%d\n",query(a , b , 1 , n , 1));
^
0_0_21600711_5333.cpp:52:22: error: 'else' without a previous 'if'
else if (op[0] == 'S') update(a , -b , 1 , n , 1);
^
0_0_21600711_5333.cpp:52:42: error: lvalue required as unary '&' operand
else if (op[0] == 'S') update(a , -b , 1 , n , 1);
^
0_0_21600711_5333.cpp:52:44: error: expected ')' before ';' token
else if (op[0] == 'S') update(a , -b , 1 , n , 1);
^
0_0_21600711_5333.cpp:52:45: error: 'S' was not declared in this scope
else if (op[0] == 'S') update(a , -b , 1 , n , 1);
^
0_0_21600711_5333.cpp:52:51: error: expected primary-expression before ')' token
else if (op[0] == 'S') update(a , -b , 1 , n , 1);
^
0_0_21600711_5333.cpp:53:22: error: 'else' without a previous 'if'
else update(a , b , 1 , n , 1);
^
|