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() {
| ^~~~
|