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_39839506_26634.cpp:76:10: error: redefinition of 'const ld INF'
   76 | const ld INF = 1e18;
      |          ^~~
0_0_39839506_26634.cpp:5:10: note: 'const ld INF' previously defined here
    5 | const ld INF = 1e18;
      |          ^~~
0_0_39839506_26634.cpp:78:8: error: redefinition of 'struct Segment'
   78 | struct Segment {
      |        ^~~~~~~
0_0_39839506_26634.cpp:7:8: note: previous definition of 'struct Segment'
    7 | struct Segment {
      |        ^~~~~~~
0_0_39839506_26634.cpp:87:4: error: redefinition of 'ld d2(ld, ld, ld, ld)'
   87 | ld d2(ld x1, ld y1, ld x2, ld y2) {
      |    ^~
0_0_39839506_26634.cpp:16:4: note: 'ld d2(ld, ld, ld, ld)' previously defined here
   16 | ld d2(ld x1, ld y1, ld x2, ld y2) {
      |    ^~
0_0_39839506_26634.cpp:91:4: error: redefinition of 'ld p2s(ld, ld, ld, ld, ld, ld)'
   91 | ld p2s(ld px, ld py, ld x1, ld y1, ld x2, ld y2) {
      |    ^~~
0_0_39839506_26634.cpp:20:4: note: 'ld p2s(ld, ld, ld, ld, ld, ld)' previously defined here
   20 | ld p2s(ld px, ld py, ld x1, ld y1, ld x2, ld y2) {
      |    ^~~
0_0_39839506_26634.cpp:99:4: error: redefinition of 'ld s2s(Segment&, Segment&)'
   99 | ld s2s(Segment &s1, Segment &s2) {
      |    ^~~
0_0_39839506_26634.cpp:28:4: note: 'ld s2s(Segment&, Segment&)' previously defined here
   28 | ld s2s(Segment &s1, Segment &s2) {
      |    ^~~
0_0_39839506_26634.cpp:108:4: error: redefinition of 'ld closest_pair(std::vector<Segment>&)'
  108 | ld closest_pair(vector<Segment> &segs) {
      |    ^~~~~~~~~~~~
0_0_39839506_26634.cpp:37:4: note: 'ld closest_pair(std::vector<Segment>&)' previously defined here
   37 | ld closest_pair(vector<Segment> &segs) {
      |    ^~~~~~~~~~~~
0_0_39839506_26634.cpp:127:5: error: redefinition of 'int main()'
  127 | int main() {
      |     ^~~~
0_0_39839506_26634.cpp:56:5: note: 'int main()' previously defined here
   56 | 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-12-02 07:06:33, Gzip enabled