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_21439654_29352.cpp: In member function 'int RXD_and_dividing::dfs(int)':
0_0_21439654_29352.cpp:31:3: error: 'num' was not declared in this scope
   num[id]=1;
   ^
0_0_21439654_29352.cpp: In member function 'void RXD_and_dividing::work()':
0_0_21439654_29352.cpp:57:13: error: 'num' was not declared in this scope
    ans+=min(num[i],K)*1ll*dist[id].val;
             ^
0_0_21439654_29352.cpp:57:32: error: 'id' was not declared in this scope
    ans+=min(num[i],K)*1ll*dist[id].val;
                                ^


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-10-03 00:20:14, Gzip enabled