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_38328585_14712.cpp:11:16: error: empty character constant
     for(; ch > '' || ch < ''; ch = getchar()) if(ch == '-') w = -;
                ^
0_0_38328585_14712.cpp:11:27: error: empty character constant
     for(; ch > '' || ch < ''; ch = getchar()) if(ch == '-') w = -;
                           ^
0_0_38328585_14712.cpp:12:17: error: empty character constant
     for(; ch >= '' && ch <= ''; ch = getchar()) x = x *  + ch - '';
                 ^
0_0_38328585_14712.cpp:12:29: error: empty character constant
     for(; ch >= '' && ch <= ''; ch = getchar()) x = x *  + ch - '';
                             ^
0_0_38328585_14712.cpp:12:65: error: empty character constant
     for(; ch >= '' && ch <= ''; ch = getchar()) x = x *  + ch - '';
                                                                 ^
0_0_38328585_14712.cpp: In function 'long long int read()':
0_0_38328585_14712.cpp:9:13: error: expected primary-expression before ',' token
     int x = , w = ;
             ^
0_0_38328585_14712.cpp:11:61: error: 'w' was not declared in this scope
     for(; ch > '' || ch < ''; ch = getchar()) if(ch == '-') w = -;
                                                             ^
0_0_38328585_14712.cpp:11:66: error: expected primary-expression before ';' token
     for(; ch > '' || ch < ''; ch = getchar()) if(ch == '-') w = -;
                                                                  ^
0_0_38328585_14712.cpp:13:16: error: 'w' was not declared in this scope
     return x * w;
                ^
0_0_38328585_14712.cpp: At global scope:
0_0_38328585_14712.cpp:16:18: error: expected primary-expression before ';' token
 const int maxn = ;
                  ^
0_0_38328585_14712.cpp:17:11: error: size of array 'a' is not an integral constant-expression
 int a[maxn];
           ^
0_0_38328585_14712.cpp:24:15: error: expected primary-expression before ']' token
 }tree[maxn << ];
               ^
0_0_38328585_14712.cpp: In function 'void solve(long long int, long long int, long long int)':
0_0_38328585_14712.cpp:27:26: error: expected primary-expression before ';' token
     int mid = (l + r) >> ;
                          ^
0_0_38328585_14712.cpp:29:5: error: 'tree' was not declared in this scope
     tree[u].l1 = tree[u << ].l1;
     ^
0_0_38328585_14712.cpp:29:28: error: expected primary-expression before ']' token
     tree[u].l1 = tree[u << ].l1;
                            ^
0_0_38328585_14712.cpp:30:32: error: expected primary-expression before ')' token
     if(tree[u].l1 == mid - l + ){
                                ^
0_0_38328585_14712.cpp:31:34: error: expected primary-expression before '|' token
         tree[u].l1 += tree[u <<  | ].l1;
                                  ^
0_0_38328585_14712.cpp:31:36: error: expected primary-expression before ']' token
         tree[u].l1 += tree[u <<  | ].l1;
                                    ^
0_0_38328585_14712.cpp:34:28: error: expected primary-expression before ']' token
     tree[u].l0 = tree[u << ].l0;
                            ^
0_0_38328585_14712.cpp:35:32: error: expected primary-expression before ')' token
     if(tree[u].l0 == mid - l + ){
                                ^
0_0_38328585_14712.cpp:36:34: error: expected primary-expression before '|' token
         tree[u].l0 += tree[u <<  | ].l0;
                                  ^
0_0_38328585_14712.cpp:36:36: error: expected primary-expression before ']' token
         tree[u].l0 += tree[u <<  | ].l0;
                                    ^
0_0_38328585_14712.cpp:39:29: error: expected primary-expression before '|' token
     tree[u].r1 = tree[u <<  | ].r1;
                             ^
0_0_38328585_14712.cpp:39:31: error: expected primary-expression before ']' token
     tree[u].r1 = tree[u <<  | ].r1;
                               ^
0_0_38328585_14712.cpp:41:33: error: expected primary-expression before ']' token
         tree[u].r1 += tree[u << ].r1;
                                 ^
0_0_38328585_14712.cpp:44:29: error: expected primary-expression before '|' token
     tree[u].r0 = tree[u <<  | ].r0;
                             ^
0_0_38328585_14712.cpp:44:31: error: expected primary-expression before ']' token
     tree[u].r0 = tree[u <<  | ].r0;
                               ^
0_0_38328585_14712.cpp:46:33: error: expected primary-expression before ']' token
         tree[u].r0 += tree[u << ].r0;
                                 ^
0_0_38328585_14712.cpp:49:40: error: expected primary-expression before ']' token
     tree[u].max1 = max (max (tree[u << ].max1, tree[u <<  | ].max1), tree[u << ].r1 + tree[u <<  | ].l1);
                                        ^
0_0_38328585_14712.cpp:49:59: error: expected primary-expression before '|' token
     tree[u].max1 = max (max (tree[u << ].max1, tree[u <<  | ].max1), tree[u << ].r1 + tree[u <<  | ].l1);
                                                           ^
0_0_38328585_14712.cpp:49:61: error: expected primary-expression before ']' token
     tree[u].max1 = max (max (tree[u << ].max1, tree[u <<  | ].max1), tree[u << ].r1 + tree[u <<  | ].l1);
                                                             ^
0_0_38328585_14712.cpp:49:80: error: expected primary-expression before ']' token
     tree[u].max1 = max (max (tree[u << ].max1, tree[u <<  | ].max1), tree[u << ].r1 + tree[u <<  | ].l1);
                                                                                ^
0_0_38328585_14712.cpp:49:98: error: expected primary-expression before '|' token
     tree[u].max1 = max (max (tree[u << ].max1, tree[u <<  | ].max1), tree[u << ].r1 + tree[u <<  | ].l1);
                                                                                                  ^
0_0_38328585_14712.cpp:49:100: error: expected primary-expression before ']' token
     tree[u].max1 = max (max (tree[u << ].max1, tree[u <<  | ].max1), tree[u << ].r1 + tree[u <<  | ].l1);
                                                                                                    ^
0_0_38328585_14712.cpp:50:40: error: expected primary-expression before ']' token
     tree[u].max0 = max (max (tree[u << ].max0, tree[u <<  | ].max0), tree[u << ].r0 + tree[u <<  | ].l0);
                                        ^
0_0_38328585_14712.cpp:50:59: error: expected primary-expression before '|' token
     tree[u].max0 = max (max (tree[u << ].max0, tree[u <<  | ].max0), tree[u << ].r0 + tree[u <<  | ].l0);
                                                           ^
0_0_38328585_14712.cpp:50:61: error: expected primary-expression before ']' token
     tree[u].max0 = max (max (tree[u << ].max0, tree[u <<  | ].max0), tree[u << ].r0 + tree[u <<  | ].l0);
                                                             ^
0_0_38328585_14712.cpp:50:80: error: expected primary-expression before ']' token
     tree[u].max0 = max (max (tree[u << ].max0, tree[u <<  | ].max0), tree[u << ].r0 + tree[u <<  | ].l0);
                                                                                ^
0_0_38328585_14712.cpp:50:98: error: expected primary-expression before '|' token
     tree[u].max0 = max (max (tree[u << ].max0, tree[u <<  | ].max0), tree[u << ].r0 + tree[u <<  | ].l0);
                                                                                                  ^
0_0_38328585_14712.cpp:50:100: error: expected primary-expression before ']' token
     tree[u].max0 = max (max (tree[u << ].max0, tree[u <<  | ].max0), tree[u << ].r0 + tree[u <<  | ].l0);
                                                                                                    ^
0_0_38328585_14712.cpp: In function 'void SWAP(long long int)':
0_0_38328585_14712.cpp:54:10: error: 'tree' was not declared in this scope
     swap(tree[u].l0, tree[u].l1);
          ^
0_0_38328585_14712.cpp: In function 'void pushdown(long long int, long long int, long long int)':
0_0_38328585_14712.cpp:61:9: error: 'tree' was not declared in this scope
         tree[u << ].lazytag ^= ;
         ^
0_0_38328585_14712.cpp:61:19: error: expected primary-expression before ']' token
         tree[u << ].lazytag ^= ;
                   ^
0_0_38328585_14712.cpp:61:32: error: expected primary-expression before ';' token
         tree[u << ].lazytag ^= ;
                                ^
0_0_38328585_14712.cpp:62:20: error: expected primary-expression before '|' token
         tree[u <<  | ].lazytag ^= ;
                    ^
0_0_38328585_14712.cpp:62:22: error: expected primary-expression before ']' token
         tree[u <<  | ].lazytag ^= ;
                      ^
0_0_38328585_14712.cpp:62:35: error: expected primary-expression before ';' token
         tree[u <<  | ].lazytag ^= ;
                                   ^
0_0_38328585_14712.cpp:63:19: error: expected primary-expression before ')' token
         SWAP(u << );
                   ^
0_0_38328585_14712.cpp:64:20: error: expected primary-expression before '|' token
         SWAP(u <<  | );
                    ^
0_0_38328585_14712.cpp:64:22: error: expected primary-expression before ')' token
         SWAP(u <<  | );
                      ^
0_0_38328585_14712.cpp:65:27: error: expected primary-expression before ';' token
         tree[u].lazytag = ;
                           ^
0_0_38328585_14712.cpp: In function 'void build(long long int, long long int, long long int)':
0_0_38328585_14712.cpp:71:5: error: 'tree' was not declared in this scope
     tree[u].lazytag = ;
     ^
0_0_38328585_14712.cpp:71:23: error: expected primary-expression before ';' token
     tree[u].lazytag = ;
                       ^
0_0_383285


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:35:31, Gzip enabled