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_26628221_14493.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_26628221_14493.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_26628221_14493.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_26628221_14493.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_26628221_14493.cpp:5:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_26628221_14493.cpp:12:9: error: '__int64' does not name a type
 typedef __int64 ll;
         ^
0_0_26628221_14493.cpp:13:1: error: 'll' does not name a type
 ll f[maxn<<2];
 ^
0_0_26628221_14493.cpp:14:1: error: 'll' does not name a type
 ll ff[maxn<<2];
 ^
0_0_26628221_14493.cpp:15:1: error: 'll' does not name a type
 ll tree[maxn<<2];
 ^
0_0_26628221_14493.cpp:16:1: error: 'll' does not name a type
 ll treef[maxn<<2];
 ^
0_0_26628221_14493.cpp:21:5: error: 'll' does not name a type
     ll ax;
     ^
0_0_26628221_14493.cpp:22:5: error: 'll' does not name a type
     ll bx;
     ^
0_0_26628221_14493.cpp: In function 'void pushdown(int)':
0_0_26628221_14493.cpp:31:8: error: 'f' was not declared in this scope
     if(f[o]!=1)
        ^
0_0_26628221_14493.cpp:35:9: error: 'tree' was not declared in this scope
         tree[o<<1]=tree[o<<1]*f[o]%mod;
         ^
0_0_26628221_14493.cpp:39:8: error: 'ff' was not declared in this scope
     if(ff[o]!=1)
        ^
0_0_26628221_14493.cpp:43:9: error: 'treef' was not declared in this scope
         treef[o<<1]=treef[o<<1]*ff[o]%mod;
         ^
0_0_26628221_14493.cpp: In function 'void pushup(int)':
0_0_26628221_14493.cpp:51:5: error: 'tree' was not declared in this scope
     tree[o]=(tree[o<<1]+tree[o<<1|1])%mod;
     ^
0_0_26628221_14493.cpp:52:5: error: 'treef' was not declared in this scope
     treef[o]=(treef[o<<1]+treef[o<<1|1])%mod;
     ^
0_0_26628221_14493.cpp: In function 'void build(int, int, int)':
0_0_26628221_14493.cpp:57:5: error: 'f' was not declared in this scope
     f[o]=ff[o]=1;
     ^
0_0_26628221_14493.cpp:57:10: error: 'ff' was not declared in this scope
     f[o]=ff[o]=1;
          ^
0_0_26628221_14493.cpp:59:9: error: 'tree' was not declared in this scope
         tree[o]=treef[o]=0;
         ^
0_0_26628221_14493.cpp:59:17: error: 'treef' was not declared in this scope
         tree[o]=treef[o]=0;
                 ^
0_0_26628221_14493.cpp: In function 'void insert1(int, int, int, int, int, int)':
0_0_26628221_14493.cpp:73:9: error: 'f' was not declared in this scope
         f[o]=f[o]*2%mod;
         ^
0_0_26628221_14493.cpp:74:9: error: 'tree' was not declared in this scope
         tree[o]=2*tree[o]%mod;
         ^
0_0_26628221_14493.cpp:77:9: error: 'ff' was not declared in this scope
         ff[o]=ff[o]*2%mod;
         ^
0_0_26628221_14493.cpp:78:9: error: 'treef' was not declared in this scope
         treef[o]=2*treef[o]%mod;
         ^
0_0_26628221_14493.cpp:85:11: error: expected ')' before ';' token
     if(m>1;
           ^
0_0_26628221_14493.cpp:86:5: error: 'll' was not declared in this scope
     ll ans=0;
     ^
0_0_26628221_14493.cpp:87:13: error: 'ans' was not declared in this scope
     if(L<=m)ans=(ans+query(lson,L,R,vis))%mod;
             ^
0_0_26628221_14493.cpp:87:40: error: 'query' was not declared in this scope
     if(L<=m)ans=(ans+query(lson,L,R,vis))%mod;
                                        ^
0_0_26628221_14493.cpp:88:11: error: expected ')' before ';' token
     if(m>1;
           ^
0_0_26628221_14493.cpp:89:8: error: 'p' was not declared in this scope
     if(p<=m)update(lson,p,x);
        ^
0_0_26628221_14493.cpp:89:27: error: 'x' was not declared in this scope
     if(p<=m)update(lson,p,x);
                           ^
0_0_26628221_14493.cpp:89:28: error: 'update' was not declared in this scope
     if(p<=m)update(lson,p,x);
                            ^
0_0_26628221_14493.cpp:90:24: error: 'x' was not declared in this scope
     else update(rson,p,x);
                        ^
0_0_26628221_14493.cpp:90:25: error: 'update' was not declared in this scope
     else update(rson,p,x);
                         ^
0_0_26628221_14493.cpp: In function 'bool cmp(node, node)':
0_0_26628221_14493.cpp:96:26: error: expected ';' at end of input
     if(a.a==b.a)return a.b
                          ^
0_0_26628221_14493.cpp:96:26: error: expected '}' at end of input


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 09:21:31, Gzip enabled