QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#181386#7184. Transport Plusesucup-team570#RE 1ms3872kbC++1742.8kb2023-09-16 18:12:512023-09-16 18:12:53

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3868kb

input:

1 2
1 1
5 3
6 2

output:

4.00000000000000000000
3
0 1.00000000000000000000 2.00000000000000000000
1 5.00000000000000000000 2.00000000000000000000
0 5.00000000000000000000 3.00000000000000000000

result:

ok correct

Test #2:

score: 0
Accepted
time: 0ms
memory: 3676kb

input:

2 1
1 1
6 1
1 3
6 3

output:

2.00000000000000000000
4
0 1.00000000000000000000 1.00000000000000000000
1 1.00000000000000000000 3.00000000000000000000
2 6.00000000000000000000 1.00000000000000000000
0 6.00000000000000000000 1.00000000000000000000

result:

ok correct

Test #3:

score: 0
Accepted
time: 1ms
memory: 3816kb

input:

0 0
1 1
1 1

output:

0.00000000000000000000
1
0 1.00000000000000000000 1.00000000000000000000

result:

ok correct

Test #4:

score: 0
Accepted
time: 1ms
memory: 3672kb

input:

0 0
100 100
0 0

output:

141.42135623730950487464
1
0 0.00000000000000000000 0.00000000000000000000

result:

ok correct

Test #5:

score: 0
Accepted
time: 1ms
memory: 3676kb

input:

1 0
100 100
0 0
100 100

output:

100.00000000000000000000
3
0 100.00000000000000000000 100.00000000000000000000
1 0.00000000000000000000 100.00000000000000000000
0 0.00000000000000000000 0.00000000000000000000

result:

ok correct

Test #6:

score: 0
Accepted
time: 1ms
memory: 3772kb

input:

1 0
100 100
0 0
100 0

output:

0.00000000000000000000
3
0 100.00000000000000000000 100.00000000000000000000
1 0.00000000000000000000 0.00000000000000000000
0 0.00000000000000000000 0.00000000000000000000

result:

ok correct

Test #7:

score: 0
Accepted
time: 0ms
memory: 3680kb

input:

1 0
100 100
0 0
0 100

output:

0.00000000000000000000
3
0 100.00000000000000000000 100.00000000000000000000
1 0.00000000000000000000 0.00000000000000000000
0 0.00000000000000000000 0.00000000000000000000

result:

ok correct

Test #8:

score: 0
Accepted
time: 1ms
memory: 3744kb

input:

1 100
50 50
0 0
50 50

output:

70.71067811865475243732
1
0 0.00000000000000000000 0.00000000000000000000

result:

ok correct

Test #9:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

1 100
50 50
0 0
0 50

output:

70.71067811865475243732
1
0 0.00000000000000000000 0.00000000000000000000

result:

ok correct

Test #10:

score: 0
Accepted
time: 1ms
memory: 3680kb

input:

1 100
50 50
0 0
51 51

output:

70.71067811865475243732
1
0 0.00000000000000000000 0.00000000000000000000

result:

ok correct

Test #11:

score: 0
Accepted
time: 1ms
memory: 3800kb

input:

1 100
50 50
0 0
2 53

output:

70.71067811865475243732
1
0 0.00000000000000000000 0.00000000000000000000

result:

ok correct

Test #12:

score: 0
Accepted
time: 1ms
memory: 3812kb

input:

1 100
0 0
100 100
50 50

output:

141.42135623730950487464
1
0 100.00000000000000000000 100.00000000000000000000

result:

ok correct

Test #13:

score: 0
Accepted
time: 1ms
memory: 3676kb

input:

1 33
0 0
100 100
50 50

output:

133.00000000000000000000
3
0 0.00000000000000000000 50.00000000000000000000
1 100.00000000000000000000 50.00000000000000000000
0 100.00000000000000000000 100.00000000000000000000

result:

ok correct

Test #14:

score: 0
Accepted
time: 1ms
memory: 3680kb

input:

1 12
100 0
11 90
0 100

output:

122.00000000000000000000
3
0 100.00000000000000000000 100.00000000000000000000
1 11.00000000000000000000 100.00000000000000000000
0 11.00000000000000000000 90.00000000000000000000

result:

ok correct

Test #15:

score: 0
Accepted
time: 1ms
memory: 3688kb

input:

1 12
100 0
10 89
0 100

output:

122.00000000000000000000
3
0 100.00000000000000000000 100.00000000000000000000
1 0.00000000000000000000 89.00000000000000000000
0 10.00000000000000000000 89.00000000000000000000

result:

ok correct

Test #16:

score: 0
Accepted
time: 1ms
memory: 3868kb

input:

2 1
2 1
5 1
1 3
6 3

output:

3.00000000000000000000
1
0 5.00000000000000000000 1.00000000000000000000

result:

ok correct

Test #17:

score: 0
Accepted
time: 1ms
memory: 3684kb

input:

2 2
2 1
5 1
1 3
6 3

output:

3.00000000000000000000
1
0 5.00000000000000000000 1.00000000000000000000

result:

ok correct

Test #18:

score: 0
Accepted
time: 1ms
memory: 3676kb

input:

1 2
1 1
5 3
7 2

output:

4.00000000000000000000
3
0 1.00000000000000000000 2.00000000000000000000
1 5.00000000000000000000 2.00000000000000000000
0 5.00000000000000000000 3.00000000000000000000

result:

ok correct

Test #19:

score: 0
Accepted
time: 1ms
memory: 3760kb

input:

1 2
1 1
5 4
6 2

output:

4.00000000000000000000
3
0 1.00000000000000000000 2.00000000000000000000
1 6.00000000000000000000 4.00000000000000000000
0 5.00000000000000000000 4.00000000000000000000

result:

ok correct

Test #20:

score: 0
Accepted
time: 1ms
memory: 3780kb

input:

12 1
77 80
76 78
77 81
76 79
77 78
75 80
75 79
76 80
78 81
77 81
76 81
76 80
77 79
76 79

output:

1.00000000000000000000
3
0 77.00000000000000000000 80.00000000000000000000
3 76.00000000000000000000 78.00000000000000000000
0 76.00000000000000000000 78.00000000000000000000

result:

ok correct

Test #21:

score: 0
Accepted
time: 1ms
memory: 3772kb

input:

5 1
40 69
37 71
37 69
36 71
38 70
40 72
40 71

output:

1.00000000000000000000
3
0 40.00000000000000000000 69.00000000000000000000
1 37.00000000000000000000 71.00000000000000000000
0 37.00000000000000000000 71.00000000000000000000

result:

ok correct

Test #22:

score: 0
Accepted
time: 1ms
memory: 3756kb

input:

8 1
84 27
86 32
85 31
83 27
86 27
85 28
83 27
83 32
85 31
87 29

output:

1.00000000000000000000
3
0 84.00000000000000000000 27.00000000000000000000
3 86.00000000000000000000 32.00000000000000000000
0 86.00000000000000000000 32.00000000000000000000

result:

ok correct

Test #23:

score: 0
Accepted
time: 0ms
memory: 3688kb

input:

11 1
95 30
99 36
96 33
95 36
94 30
98 33
98 36
97 31
99 33
99 31
98 35
95 36
100 32

output:

1.00000000000000000000
3
0 95.00000000000000000000 30.00000000000000000000
2 99.00000000000000000000 36.00000000000000000000
0 99.00000000000000000000 36.00000000000000000000

result:

ok correct

Test #24:

score: 0
Accepted
time: 0ms
memory: 3872kb

input:

4 1
19 37
18 32
18 36
21 36
19 33
22 34

output:

2.00000000000000000000
4
0 19.00000000000000000000 37.00000000000000000000
3 19.00000000000000000000 36.00000000000000000000
1 18.00000000000000000000 32.00000000000000000000
0 18.00000000000000000000 32.00000000000000000000

result:

ok correct

Test #25:

score: 0
Accepted
time: 1ms
memory: 3680kb

input:

7 1
49 6
48 8
46 3
49 9
45 6
43 3
49 8
43 8
48 2

output:

1.00000000000000000000
3
0 49.00000000000000000000 6.00000000000000000000
5 48.00000000000000000000 8.00000000000000000000
0 48.00000000000000000000 8.00000000000000000000

result:

ok correct

Test #26:

score: -100
Runtime Error

input:

10 0
75 31
74 34
77 36
79 34
74 37
75 32
76 31
81 37
79 34
77 28
80 36
80 28

output:


result: