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_20980646_3975.cpp:31:25: error: stray '#' in program
         ret = ret * 10 + ( c - '0' );
                         ^
0_0_20980646_3975.cpp:40:21: error: stray '#' in program
     putchar(a % 10 + '0');
                     ^
0_0_20980646_3975.cpp:61:21: error: stray '#' in program
     tr[x].mid = (l + r) >> 1;
                     ^
0_0_20980646_3975.cpp:68:21: error: stray '#' in program
     build(tr[x].mid+1,r,R(x));
                     ^
0_0_20980646_3975.cpp:74:23: error: stray '#' in program
         tr[L(x)].add += tr[x].add;
                       ^
0_0_20980646_3975.cpp:75:23: error: stray '#' in program
         tr[R(x)].add += tr[x].add;
                       ^
0_0_20980646_3975.cpp:76:21: error: stray '#' in program
         tr[L(x)].v += tr[x].add;
                     ^
0_0_20980646_3975.cpp:77:21: error: stray '#' in program
         tr[R(x)].v += tr[x].add;
                     ^
0_0_20980646_3975.cpp:84:20: error: stray '#' in program
         tr[x].add += val;
                    ^
0_0_20980646_3975.cpp:85:18: error: stray '#' in program
         tr[x].v += val;
                  ^
0_0_20980646_3975.cpp:104:49: error: stray '#' in program
         return max(query(l,mid,L(x)), query(mid+1,r,R(x)));
                                                 ^
0_0_20980646_3975.cpp:110:23: error: stray '#' in program
     int size = n - k + 1;
                       ^
0_0_20980646_3975.cpp:111:33: error: stray '#' in program
     for(int i=1; i<=3 * size; i++) {
                                 ^
0_0_20980646_3975.cpp:111:38: error: stray '#' in program
     for(int i=1; i<=3 * size; i++) {
                                      ^
0_0_20980646_3975.cpp:122:30: error: stray '#' in program
         for(int i=1; i<=n; i++) RD(a[i]);
                              ^
0_0_20980646_3975.cpp:122:35: error: stray '#' in program
         for(int i=1; i<=n; i++) RD(a[i]);
                                   ^
0_0_20980646_3975.cpp:123:30: error: stray '#' in program
         for(int i=1; i<=k; i++) va[1] += a[i];
                              ^
0_0_20980646_3975.cpp:123:35: error: stray '#' in program
         for(int i=1; i<=k; i++) va[1] += a[i];
                                   ^
0_0_20980646_3975.cpp:123:48: error: stray '#' in program
         for(int i=1; i<=k; i++) va[1] += a[i];
                                                ^
0_0_20980646_3975.cpp:124:21: error: stray '#' in program
         for(int i=k+1; i<=n; i++) {
                     ^
0_0_20980646_3975.cpp:124:36: error: stray '#' in program
         for(int i=k+1; i<=n; i++) {
                                    ^
0_0_20980646_3975.cpp:124:41: error: stray '#' in program
         for(int i=k+1; i<=n; i++) {
                                         ^
0_0_20980646_3975.cpp:125:23: error: stray '#' in program
             va[i - k + 1] = va[i - k] - a[i - k] + a[i];
                       ^
0_0_20980646_3975.cpp:125:55: error: stray '#' in program
             va[i - k + 1] = va[i - k] - a[i - k] + a[i];
                                                       ^
0_0_20980646_3975.cpp:127:21: error: stray '#' in program
         build(1,n-k+1,1);
                     ^
0_0_20980646_3975.cpp:129:29: error: stray '#' in program
         for(int i=0; i<m; i++) {
                             ^
0_0_20980646_3975.cpp:129:34: error: stray '#' in program
         for(int i=0; i<m; i++) {
                                  ^
0_0_20980646_3975.cpp:133:34: error: stray '#' in program
                 update(max(1,c-k+1),min(n-k+1,c),1,val);
                                  ^
0_0_20980646_3975.cpp:133:49: error: stray '#' in program
                 update(max(1,c-k+1),min(n-k+1,c),1,val);
                                                 ^
0_0_20980646_3975.cpp:140:34: error: stray '#' in program
                 update(max(1,c-k+1),min(n-k+1,c),1,x2);
                                  ^
0_0_20980646_3975.cpp:140:49: error: stray '#' in program
                 update(max(1,c-k+1),min(n-k+1,c),1,x2);
                                                 ^
0_0_20980646_3975.cpp:141:34: error: stray '#' in program
                 update(max(1,d-k+1),min(n-k+1,d),1,x1);
                                  ^
0_0_20980646_3975.cpp:141:49: error: stray '#' in program
                 update(max(1,d-k+1),min(n-k+1,d),1,x1);
                                                 ^
0_0_20980646_3975.cpp:145:32: error: stray '#' in program
                 OT(query(c,d-k+1,1));
                                ^
0_0_20980646_3975.cpp: In function 'void OT(int)':
0_0_20980646_3975.cpp:40:24: error: expected ')' before ';' token
     putchar(a % 10 + '0');
                        ^
0_0_20980646_3975.cpp:40:29: error: expected ';' before ')' token
     putchar(a % 10 + '0');
                             ^
0_0_20980646_3975.cpp: In function 'void build(int, int, int)':
0_0_20980646_3975.cpp:61:24: error: expected ')' before ';' token
     tr[x].mid = (l + r) >> 1;
                        ^
0_0_20980646_3975.cpp:61:27: error: expected ';' before ')' token
     tr[x].mid = (l + r) >> 1;
                           ^
0_0_20980646_3975.cpp:68:24: error: expected ')' before ';' token
     build(tr[x].mid+1,r,R(x));
                        ^
0_0_20980646_3975.cpp:68:33: error: expected ';' before ')' token
     build(tr[x].mid+1,r,R(x));
                                 ^
0_0_20980646_3975.cpp: In function 'void down(int)':
0_0_20980646_3975.cpp:74:27: error: expected primary-expression before '=' token
         tr[L(x)].add += tr[x].add;
                           ^
0_0_20980646_3975.cpp:75:27: error: expected primary-expression before '=' token
         tr[R(x)].add += tr[x].add;
                           ^
0_0_20980646_3975.cpp:76:25: error: expected primary-expression before '=' token
         tr[L(x)].v += tr[x].add;
                         ^
0_0_20980646_3975.cpp:77:25: error: expected primary-expression before '=' token
         tr[R(x)].v += tr[x].add;
                         ^
0_0_20980646_3975.cpp: In function 'void update(int, int, int, int)':
0_0_20980646_3975.cpp:84:24: error: expected primary-expression before '=' token
         tr[x].add += val;
                        ^
0_0_20980646_3975.cpp:85:22: error: expected primary-expression before '=' token
         tr[x].v += val;
                      ^
0_0_20980646_3975.cpp: In function 'int query(int, int, int)':
0_0_20980646_3975.cpp:104:52: error: expected ')' before ';' token
         return max(query(l,mid,L(x)), query(mid+1,r,R(x)));
                                                    ^
0_0_20980646_3975.cpp:104:61: error: expected ';' before ')' token
         return max(query(l,mid,L(x)), query(mid+1,r,R(x)));
                                                             ^
0_0_20980646_3975.cpp: In function 'void test()':
0_0_20980646_3975.cpp:111:36: error: expected ')' before ';' token
     for(int i=1; i<=3 * size; i++) {
                                    ^
0_0_20980646_3975.cpp:111:39: error: lvalue required as unary '&' operand
     for(int i=1; i<=3 * size; i++) {
                                       ^
0_0_20980646_3975.cpp:111:42: error: expected primary-expression before ')' token
     for(int i=1; i<=3 * size; i++) {
                                          ^
0_0_20980646_3975.cpp: In function 'int main()':
0_0_20980646_3975.cpp:122:33: error: expected ')' before ';' token
         for(int i=1; i<=n; i++) RD(a[i]);
                                 ^
0_0_20980646_3975.cpp:122:36: error: lvalue required as unary '&' operand
         for(int i=1; i<=n; i++) RD(a[i]);
                                    ^
0_0_20980646_3975.cpp:122:39: error: expected primary-expression before ')' token
         for(int i=1; i<=n; i++) RD(a[i]);
                                       ^
0_0_20980646_3975.cpp:123:33: error: expected ')' before ';' token
         for(int i=1; i<=k; i++) va[1] += a[i];
                                 ^
0_0_20980646_3975.cpp:123:36: error: lvalue required as unary '&' operand
         for(int i=1; i<=k; i++) va[1] += a[i];
                                    ^
0_0_20980646_3975.cpp:123:39: error: expected primary-expression before ')' token
         for(int i=1; i<=k; i++) va[1] += a[i];
                                       ^
0_0_20980646_3975.cpp:123:52: error: expected primary-expression before '=' token
         for(int i=1; i<=k; i++) va[1] += a[i];
                                                    ^
0_0_20980646_3975.cpp:123:56: error: 'i' was not declared in this scope
         for(int i=1; i<=k; i++) va[1] += a[i];
                                                        ^
0_0_20980646_3975.cpp:124:32: error: expected ')' before ';' token
         for(int i=k+1; i<=n; i++) {
                                ^
0_0_20980646_3975.cpp:124:42: error: lvalue required as unary '&' operand
         for(int i=k+1; i<=n; i++) {
                                          ^
0_0_20980646_3975.cpp:124:45: error: expected primary-expression before ')' token
         for(int i=k+1; i<=n; 


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 12:12:25, Gzip enabled