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_22967899_3890.cpp:17:11: error: expected unqualified-id before '<' token
 double an;<span style="white-space:pre">      </span>//容易出问题
           ^
0_0_22967899_3890.cpp: In function 'int unin(int, int)':
0_0_22967899_3890.cpp:25:18: error: 'getfa' was not declared in this scope
     int A=getfa(a);
                  ^
0_0_22967899_3890.cpp: In function 'long long int kru()':
0_0_22967899_3890.cpp:46:24: error: 'getfa' was not declared in this scope
         if(getfa(e[i].x)!=getfa(e[i].y))
                        ^
0_0_22967899_3890.cpp: In function 'long long int dfs(int, int)':
0_0_22967899_3890.cpp:66:39: error: expected primary-expression before '<' token
         an+=(double)(n-sz[c])*sz[c]*d;<span style="white-space:pre">    </span>//容易出问题
                                       ^
0_0_22967899_3890.cpp:66:40: error: 'span' was not declared in this scope
         an+=(double)(n-sz[c])*sz[c]*d;<span style="white-space:pre">    </span>//容易出问题
                                        ^


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-06 11:16:05, Gzip enabled