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_8423187_21245.cpp:7: error: `max' was not declared in this scope
0_0_8423187_21245.cpp:8: error: `max' was not declared in this scope
0_0_8423187_21245.cpp:9: error: `max' was not declared in this scope
0_0_8423187_21245.cpp: In function `void meset(int)':
0_0_8423187_21245.cpp:14: error: `father' undeclared (first use this function)
0_0_8423187_21245.cpp:14: error: (Each undeclared identifier is reported only once for each function it appears in.)
0_0_8423187_21245.cpp:15: error: `rank' undeclared (first use this function)
0_0_8423187_21245.cpp:16: error: `weight' undeclared (first use this function)
0_0_8423187_21245.cpp: In function `int find(int)':
0_0_8423187_21245.cpp:21: error: `father' undeclared (first use this function)
0_0_8423187_21245.cpp: In function `int unio_set(int, int, int)':
0_0_8423187_21245.cpp:32: error: `rank' undeclared (first use this function)
0_0_8423187_21245.cpp:34: error: `father' undeclared (first use this function)
0_0_8423187_21245.cpp:35: error: `weight' undeclared (first use this function)
0_0_8423187_21245.cpp: In function `int main()':
0_0_8423187_21245.cpp:70: error: name lookup of `i' changed for new ISO `for' scoping
0_0_8423187_21245.cpp:54: error:   using obsolete binding at `i'
0_0_8423187_21245.cpp:72: error: `weight' undeclared (first use this function)


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-12-03 16:49:40, Gzip enabled