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_11861398_22221.cpp:78: error: redefinition of `struct point'
0_0_11861398_22221.cpp:15: error: previous definition of `struct point'
0_0_11861398_22221.cpp:80: error: invalid type in declaration before ';' token
0_0_11861398_22221.cpp:80: error: conflicting declaration 'int p[100005]'
0_0_11861398_22221.cpp:17: error: 'p' has a previous declaration as `point p[100005]'
0_0_11861398_22221.cpp:80: error: type mismatch with previous external decl of `int p[100005]'
0_0_11861398_22221.cpp:17: error: previous external decl of `point p[100005]'
0_0_11861398_22221.cpp:80: error: declaration of `int p[100005]'
0_0_11861398_22221.cpp:17: error: conflicts with previous declaration `point p[100005]'
0_0_11861398_22221.cpp:82: error: redefinition of `int a[100005]'
0_0_11861398_22221.cpp:19: error: `int a[100005]' previously declared here
0_0_11861398_22221.cpp: In function `bool cmpx(point, point)':
0_0_11861398_22221.cpp:84: error: redefinition of `bool cmpx(point, point)'
0_0_11861398_22221.cpp:22: error: `bool cmpx(point, point)' previously defined here
0_0_11861398_22221.cpp: In function `bool cmpy(int, int)':
0_0_11861398_22221.cpp:88: error: redefinition of `bool cmpy(int, int)'
0_0_11861398_22221.cpp:26: error: `bool cmpy(int, int)' previously defined here
0_0_11861398_22221.cpp: In function `double dis(point, point)':
0_0_11861398_22221.cpp:91: error: redefinition of `double dis(point, point)'
0_0_11861398_22221.cpp:29: error: `double dis(point, point)' previously defined here
0_0_11861398_22221.cpp: In function `double closest(int, int)':
0_0_11861398_22221.cpp:94: error: redefinition of `double closest(int, int)'
0_0_11861398_22221.cpp:36: error: `double closest(int, int)' previously defined here
0_0_11861398_22221.cpp: In function `int main()':
0_0_11861398_22221.cpp:119: error: redefinition of `int main()'
0_0_11861398_22221.cpp:61: error: `int main()' previously defined here


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-05 08:03:19, Gzip enabled