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_21387152_22240.cpp:19:5: error: stray '\243' in program
     build(o<<1|1£¬mid+1,r);
     ^
0_0_21387152_22240.cpp:19:5: error: stray '\254' in program
0_0_21387152_22240.cpp:5:7: error: 'LL' does not name a type
 const LL mod=1e9+7;
       ^
0_0_21387152_22240.cpp: In function 'void build(int, int, int)':
0_0_21387152_22240.cpp:19:19: error: expected ')' before 'mid'
     build(o<<1|1£¬mid+1,r);
                   ^
0_0_21387152_22240.cpp:19:26: error: too few arguments to function 'void build(int, int, int)'
     build(o<<1|1£¬mid+1,r);
                          ^
0_0_21387152_22240.cpp:11:6: note: declared here
 void build(int o,int l,int r){
      ^
0_0_21387152_22240.cpp: In function 'void update(int, int, int, int, int)':
0_0_21387152_22240.cpp:37:36: error: too few arguments to function 'void update(int, int, int, int, int)'
     if(p<=mid)update(o<<1,l,mid,val);
                                    ^
0_0_21387152_22240.cpp:31:6: note: declared here
 void update(int o,int l,int r,int p,int val){
      ^
0_0_21387152_22240.cpp:38:35: error: too few arguments to function 'void update(int, int, int, int, int)'
     else update(o<<1|1,mid+1,r,val);
                                   ^
0_0_21387152_22240.cpp:31:6: note: declared here
 void update(int o,int l,int r,int p,int val){
      ^
0_0_21387152_22240.cpp: In function 'int main()':
0_0_21387152_22240.cpp:47:9: error: expected ';' before 'LL'
         LL ans=0;
         ^
0_0_21387152_22240.cpp:51:13: error: 'ans' was not declared in this scope
             ans=(ans+k)%mod;
             ^
0_0_21387152_22240.cpp:51:25: error: 'mod' was not declared in this scope
             ans=(ans+k)%mod;
                         ^
0_0_21387152_22240.cpp:53:25: error: 'ans' was not declared in this scope
         printf("%lld\n",ans);
                         ^


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-27 05:58:43, Gzip enabled