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_21006467_31338.cpp:23:18: error: '#' is not followed by a macro parameter
 #define REP(i,s,t) for( int i = ( s ) ; i <= ( t ) ; ++ i )
                  ^
0_0_21006467_31338.cpp:37:25: error: stray '#' in program
         ret = ret * 10 + ( c - '0' );
                         ^
0_0_21006467_31338.cpp:42:21: error: stray '#' in program
     putchar(a % 10 + '0') ;
                     ^
0_0_21006467_31338.cpp:54:30: error: stray '#' in program
     T[x].sum = T[LL(x)].sum + T[RR(x)].sum ;
                              ^
0_0_21006467_31338.cpp:78:18: error: stray '#' in program
     int mid = l + r >> 1 ;
                  ^
0_0_21006467_31338.cpp:80:16: error: stray '#' in program
     build(mid + 1 , r , RR(x)) ;
                ^
0_0_21006467_31338.cpp:92:23: error: stray '#' in program
     int mid = T[x].l + T[x].r >> 1 ;
                       ^
0_0_21006467_31338.cpp:97:21: error: stray '#' in program
         update(mid + 1 , r , RR(x)) ;
                     ^
0_0_21006467_31338.cpp:111:23: error: stray '#' in program
     int mid = T[x].l + T[x].r >> 1 ;
                       ^
0_0_21006467_31338.cpp:118:25: error: stray '#' in program
             queryL(mid + 1 , r , RR(x)) ;
                         ^
0_0_21006467_31338.cpp:132:23: error: stray '#' in program
     int mid = T[x].l + T[x].r >> 1 ;
                       ^
0_0_21006467_31338.cpp:139:25: error: stray '#' in program
             queryR(mid + 1 , r , RR(x)) ;
                         ^
0_0_21006467_31338.cpp:144:31: error: stray '#' in program
     while(cin >> n >> m , (n + m)) {
                               ^
0_0_21006467_31338.cpp:154:23: error: stray '#' in program
             queryR(b + 1 , n , 1) ;
                       ^
0_0_21006467_31338.cpp: In function 'void OT(int)':
0_0_21006467_31338.cpp:42:24: error: expected ')' before ';' token
     putchar(a % 10 + '0') ;
                        ^
0_0_21006467_31338.cpp:42:29: error: expected ';' before ')' token
     putchar(a % 10 + '0') ;
                             ^
0_0_21006467_31338.cpp: In function 'void build(int, int, int)':
0_0_21006467_31338.cpp:80:19: error: expected ')' before ';' token
     build(mid + 1 , r , RR(x)) ;
                   ^
0_0_21006467_31338.cpp:80:34: error: expected ';' before ')' token
     build(mid + 1 , r , RR(x)) ;
                                  ^
0_0_21006467_31338.cpp: In function 'void update(int, int, int)':
0_0_21006467_31338.cpp:97:24: error: expected ')' before ';' token
         update(mid + 1 , r , RR(x)) ;
                        ^
0_0_21006467_31338.cpp:97:39: error: expected ';' before ')' token
         update(mid + 1 , r , RR(x)) ;
                                       ^
0_0_21006467_31338.cpp: In function 'void queryL(int, int, int)':
0_0_21006467_31338.cpp:118:28: error: expected ')' before ';' token
             queryL(mid + 1 , r , RR(x)) ;
                            ^
0_0_21006467_31338.cpp:118:43: error: expected ';' before ')' token
             queryL(mid + 1 , r , RR(x)) ;
                                           ^
0_0_21006467_31338.cpp: In function 'void queryR(int, int, int)':
0_0_21006467_31338.cpp:139:28: error: expected ')' before ';' token
             queryR(mid + 1 , r , RR(x)) ;
                            ^
0_0_21006467_31338.cpp:139:43: error: expected ';' before ')' token
             queryR(mid + 1 , r , RR(x)) ;
                                           ^
0_0_21006467_31338.cpp: In function 'int main()':
0_0_21006467_31338.cpp:144:34: error: expected ')' before ';' token
     while(cin >> n >> m , (n + m)) {
                                  ^
0_0_21006467_31338.cpp:144:34: error: expected ')' before ';' token
0_0_21006467_31338.cpp:144:37: error: expected ';' before ')' token
     while(cin >> n >> m , (n + m)) {
                                     ^
0_0_21006467_31338.cpp:165:1: error: expected '}' at end of input
 }
 ^


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-30 02:27:04, Gzip enabled