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_21600719_9976.cpp:60:27: error: stray '#' in program
             if (op[0] == 'E') break;
                           ^
0_0_21600719_9976.cpp:60:33: error: stray '#' in program
             if (op[0] == 'E') break;
                                 ^
0_0_21600719_9976.cpp:63:27: error: stray '#' in program
             if (op[0] == 'Q') printf("%d\n",query(a , b , 1 , n , 1));
                           ^
0_0_21600719_9976.cpp:63:33: error: stray '#' in program
             if (op[0] == 'Q') printf("%d\n",query(a , b , 1 , n , 1));
                                 ^
0_0_21600719_9976.cpp:64:32: error: stray '#' in program
             else if (op[0] == 'S') update(a , -b , 1 , n , 1);
                                ^
0_0_21600719_9976.cpp:64:38: error: stray '#' in program
             else if (op[0] == 'S') update(a , -b , 1 , n , 1);
                                      ^
0_0_21600719_9976.cpp:1:1: error: expected unqualified-id before '<' token
 <span style="font-family:Microsoft YaHei;font-size:18px;">//hdu1166 敌兵布阵
 ^
0_0_21600719_9976.cpp: In function 'int main()':
0_0_21600719_9976.cpp:60:28: error: lvalue required as unary '&' operand
             if (op[0] == 'E') break;
                            ^
0_0_21600719_9976.cpp:60:30: error: expected ')' before ';' token
             if (op[0] == 'E') break;
                              ^
0_0_21600719_9976.cpp:60:31: error: 'E' was not declared in this scope
             if (op[0] == 'E') break;
                               ^
0_0_21600719_9976.cpp:60:37: error: expected primary-expression before ')' token
             if (op[0] == 'E') break;
                                     ^
0_0_21600719_9976.cpp:63:28: error: lvalue required as unary '&' operand
             if (op[0] == 'Q') printf("%d\n",query(a , b , 1 , n , 1));
                            ^
0_0_21600719_9976.cpp:63:30: error: expected ')' before ';' token
             if (op[0] == 'Q') printf("%d\n",query(a , b , 1 , n , 1));
                              ^
0_0_21600719_9976.cpp:63:31: error: 'Q' was not declared in this scope
             if (op[0] == 'Q') printf("%d\n",query(a , b , 1 , n , 1));
                               ^
0_0_21600719_9976.cpp:63:37: error: expected primary-expression before ')' token
             if (op[0] == 'Q') printf("%d\n",query(a , b , 1 , n , 1));
                                     ^
0_0_21600719_9976.cpp:64:13: error: 'else' without a previous 'if'
             else if (op[0] == 'S') update(a , -b , 1 , n , 1);
             ^
0_0_21600719_9976.cpp:64:33: error: lvalue required as unary '&' operand
             else if (op[0] == 'S') update(a , -b , 1 , n , 1);
                                 ^
0_0_21600719_9976.cpp:64:35: error: expected ')' before ';' token
             else if (op[0] == 'S') update(a , -b , 1 , n , 1);
                                   ^
0_0_21600719_9976.cpp:64:36: error: 'S' was not declared in this scope
             else if (op[0] == 'S') update(a , -b , 1 , n , 1);
                                    ^
0_0_21600719_9976.cpp:64:42: error: expected primary-expression before ')' token
             else if (op[0] == 'S') update(a , -b , 1 , n , 1);
                                          ^
0_0_21600719_9976.cpp:65:13: error: 'else' without a previous 'if'
             else update(a , b , 1 , n , 1);
             ^
0_0_21600719_9976.cpp: At global scope:
0_0_21600719_9976.cpp:69:2: error: expected unqualified-id before '<' token
 }</span>
  ^


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-26 04:03:48, Gzip enabled