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);
^
|