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_36702110_13196.cpp: In function 'double solve(int, int)':
0_0_36702110_13196.cpp:164:60: error: 'mk' was not declared in this scope
 else if (o == 0 && inq[rhs]) inq[rhs] = 0, H -= a[rhs].nd, mk = 1;
                                                            ^
0_0_36702110_13196.cpp:165:86: error: 'mk' was not declared in this scope
 else if (o == 1 && inq[lhs]) H += a[rhs].nd - a[lhs].nd, inq[lhs] = 0, inq[rhs] = 1, mk = 1;
                                                                                      ^
0_0_36702110_13196.cpp: In function 'int main()':
0_0_36702110_13196.cpp:179:3: error: 'kases' was not declared in this scope
 ++kases;
   ^


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-05-17 13:50:32, Gzip enabled