F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

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);
                      ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-22 21:03:47, Gzip enabled