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_26572168_25002.cpp: In function 'int main()':
0_0_26572168_25002.cpp:10:12: error: 'const value_type' has no member named 'second'
 #define se second
            ^
0_0_26572168_25002.cpp:66:43: note: in expansion of macro 'se'
                         int now = p.top().se, ca = p.top().fi;   //因为优先队列是从大到小排 那么要优先处理路径小的  就存负数进去
                                           ^
0_0_26572168_25002.cpp:71:45: error: 'ca' was not declared in this scope
                                 int to_ca = ca + (!comp[now].count(to_com));//如果到now这个点的最短路  的上一条边有to_com值出现过就加0  (set去重了)没有出现过就+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-25 21:51:26, Gzip enabled