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_39357146_3668.cpp:94:2: error: stray '#' in program
   94 | }#include <iostream>
      |  ^
0_0_39357146_3668.cpp:94:3: error: 'include' does not name a type
   94 | }#include <iostream>
      |   ^~~~~~~
0_0_39357146_3668.cpp:100:16: error: redefinition of 'struct Point'
  100 | typedef struct Point
      |                ^~~~~
0_0_39357146_3668.cpp:7:16: note: previous definition of 'struct Point'
    7 | typedef struct Point
      |                ^~~~~
0_0_39357146_3668.cpp:105:7: error: redefinition of 'Point point [100100]'
  105 | Point point[100100];
      |       ^~~~~
0_0_39357146_3668.cpp:12:7: note: 'Point point [100100]' previously declared here
   12 | Point point[100100];
      |       ^~~~~
0_0_39357146_3668.cpp:106:5: error: redefinition of 'int number'
  106 | int number;
      |     ^~~~~~
0_0_39357146_3668.cpp:13:5: note: 'int number' previously declared here
   13 | int number;
      |     ^~~~~~
0_0_39357146_3668.cpp:108:6: error: redefinition of 'bool cmp(const Point&, const Point&)'
  108 | bool cmp(const Point &a,const Point &b)
      |      ^~~
0_0_39357146_3668.cpp:15:6: note: 'bool cmp(const Point&, const Point&)' previously defined here
   15 | bool cmp(const Point &a,const Point &b)
      |      ^~~
0_0_39357146_3668.cpp:115:8: error: redefinition of 'double dist(int, int)'
  115 | double dist(int a,int b)
      |        ^~~~
0_0_39357146_3668.cpp:22:8: note: 'double dist(int, int)' previously defined here
   22 | double dist(int a,int b)
      |        ^~~~
0_0_39357146_3668.cpp:120:8: error: redefinition of 'double divide(int, int)'
  120 | double divide(int left,int right)
      |        ^~~~~~
0_0_39357146_3668.cpp:27:8: note: 'double divide(int, int)' previously defined here
   27 | double divide(int left,int right)
      |        ^~~~~~
0_0_39357146_3668.cpp:174:5: error: redefinition of 'int main()'
  174 | int main()
      |     ^~~~
0_0_39357146_3668.cpp:81:5: note: 'int main()' previously defined here
   81 | int main()
      |     ^~~~


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-23 06:40:21, Gzip enabled