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_15517790_3063.cpp: In function 'void pushtag(int, int, int)':
0_0_15517790_3063.cpp:26:55: error: 'Mod' was not declared in this scope
  wsum[cur]=(long long)wadd[cur]*(s[rm] - s[lm - 1]) % Mod;
                                                       ^
0_0_15517790_3063.cpp: In function 'void build(int, int, int)':
0_0_15517790_3063.cpp:52:14: error: 'lm' was not declared in this scope
  update(cur, lm, rm);
              ^
0_0_15517790_3063.cpp:52:18: error: 'rm' was not declared in this scope
  update(cur, lm, rm);
                  ^
0_0_15517790_3063.cpp: In function 'void modifycos(int, int, int, int, int, int)':
0_0_15517790_3063.cpp:71:14: error: too few arguments to function 'void pushtag(int, int, int)'
   pushtag(cur);
              ^
0_0_15517790_3063.cpp:24:6: note: declared here
 void pushtag(int cur,int lm,int rm){
      ^
0_0_15517790_3063.cpp: In function 'void modifyget(int, int, int, int, int, int)':
0_0_15517790_3063.cpp:84:11: error: 'wadd' cannot be used as a function
   wadd(cur) += dif;
           ^
0_0_15517790_3063.cpp:85:14: error: too few arguments to function 'void pushtag(int, int, int)'
   pushtag(cur);
              ^
0_0_15517790_3063.cpp:24:6: note: declared here
 void pushtag(int cur,int lm,int rm){
      ^


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-25 13:09:59, Gzip enabled