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_38023591_31276.cpp: In function 'void add_edge(Point, Point, bool)':
0_0_38023591_31276.cpp:20:21: error: 'swap' was not declared in this scope
         swap(p1 , p2) ;
                     ^
0_0_38023591_31276.cpp: In function 'int get_score(Point, Point)':
0_0_38023591_31276.cpp:40:19: error: 'swap' was not declared in this scope
         swap(a , b) ;
                   ^
0_0_38023591_31276.cpp: In function 'void input()':
0_0_38023591_31276.cpp:51:25: error: 'scanf' was not declared in this scope
     scanf("%d",&edge_num) ;
                         ^
0_0_38023591_31276.cpp:52:43: error: 'memset' was not declared in this scope
     memset(edge_row , 0 , sizeof(edge_row)) ;
                                           ^
0_0_38023591_31276.cpp: In function 'int main()':
0_0_38023591_31276.cpp:107:5: error: 'cin' was not declared in this scope
     cin >> Case ;
     ^
0_0_38023591_31276.cpp:115:31: error: 'printf' was not declared in this scope
         printf("Case #%d: ", i);
                               ^


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-26 06:17:44, Gzip enabled