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_16486891_28583.cpp:45:17: error: redefinition of 'int Qv'
 int Ql,Qr,Qv,Qx,Qv;
                 ^
0_0_16486891_28583.cpp:45:11: note: 'int Qv' previously declared here
 int Ql,Qr,Qv,Qx,Qv;
           ^
0_0_16486891_28583.cpp: In member function 'void Seg1::Modify(int, int, int)':
0_0_16486891_28583.cpp:79:11: error: 'Mid' was not declared in this scope
   if (Ql<=Mid) Modify(Lsn,L,Mid);
           ^
0_0_16486891_28583.cpp:80:10: error: 'Mid' was not declared in this scope
   if (Qr>Mid) Modify(Rsn,Mid+1,R);
          ^
0_0_16486891_28583.cpp: In member function 'int Seg1::Query(int, int, int)':
0_0_16486891_28583.cpp:85:14: error: 'Mid' was not declared in this scope
   return Qx<=Mid?Query(Lsn,L,Mid):Query(Rsn,Mid+1,R);
              ^
0_0_16486891_28583.cpp: In member function 'void Seg2::Modify(int, int, int)':
0_0_16486891_28583.cpp:99:7: error: 'Mid' was not declared in this scope
   Qx<=Mid?Modify(Lsn,L,Mid):Modify(Rsn,Mid+1,R);
       ^
0_0_16486891_28583.cpp: In member function 'int Seg2::Query(int, int, int)':
0_0_16486891_28583.cpp:104:11: error: 'Mid' was not declared in this scope
   if (Ql<=Mid){
           ^
0_0_16486891_28583.cpp:108:10: error: 'Mid' was not declared in this scope
   if (Qr>Mid) return Query(Rsn,Mid+1,R);
          ^
0_0_16486891_28583.cpp: In function 'void Erase(int)':
0_0_16486891_28583.cpp:168:6: error: 'ID' was not declared in this scope
  Add(ID[x],-1);
      ^


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 19:11:38, Gzip enabled