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_24842835_15363.cpp: In function 'int cmp(edge, edge)':
0_0_24842835_15363.cpp:17:10: error: 'struct edge' has no member named 'cc'
     if(a.cc>=b.cc) return 0;
          ^
0_0_24842835_15363.cpp:17:16: error: 'struct edge' has no member named 'cc'
     if(a.cc>=b.cc) return 0;
                ^
0_0_24842835_15363.cpp: In function 'int main()':
0_0_24842835_15363.cpp:54:41: error: 'struct edge' has no member named 'cc'
             {e[t].aa=a; e[t].bb=b; e[t].cc=c; e[t++].mark=i;}
                                         ^
0_0_24842835_15363.cpp:68:27: error: 'struct edge' has no member named 'cc'
                 bns+=e[i].cc;
                           ^
0_0_24842835_15363.cpp:93:45: error: 'struct edge' has no member named 'cc'
                 ans+=siz[x]*(n-siz[x])*e[i].cc;
                                             ^


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.015600(s) query 1, Server time : 2024-07-05 11:55:37, Gzip enabled