QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#167925#7184. Transport Plusesucup-team1239#WA 3ms6916kbC++233.8kb2023-09-07 18:25:322023-09-07 18:25:33

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 5328kb

input:

1 2
1 1
5 3
6 2

output:

4.000000
3
0 1 2
1 6 3
0 5 3

result:

ok correct

Test #2:

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

input:

2 1
1 1
6 1
1 3
6 3

output:

2.000000
2
1 0 3
2 6 1

result:

ok correct

Test #3:

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

input:

0 0
1 1
1 1

output:

0.000000
0

result:

ok correct

Test #4:

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

input:

0 0
100 100
0 0

output:

141.421356
1
0 0 0

result:

ok correct

Test #5:

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

input:

1 0
100 100
0 0
100 100

output:

100.000000
2
1 0 100
0 0 0

result:

ok correct

Test #6:

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

input:

1 0
100 100
0 0
100 0

output:

0.000000
1
1 0 0

result:

ok correct

Test #7:

score: 0
Accepted
time: 3ms
memory: 5724kb

input:

1 0
100 100
0 0
0 100

output:

0.000000
1
1 0 0

result:

ok correct

Test #8:

score: 0
Accepted
time: 3ms
memory: 5412kb

input:

1 100
50 50
0 0
50 50

output:

70.710678
1
0 0 0

result:

ok correct

Test #9:

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

input:

1 100
50 50
0 0
0 50

output:

70.710678
1
0 0 0

result:

ok correct

Test #10:

score: 0
Accepted
time: 3ms
memory: 5476kb

input:

1 100
50 50
0 0
51 51

output:

70.710678
1
0 0 0

result:

ok correct

Test #11:

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

input:

1 100
50 50
0 0
2 53

output:

70.710678
1
0 0 0

result:

ok correct

Test #12:

score: 0
Accepted
time: 2ms
memory: 5460kb

input:

1 100
0 0
100 100
50 50

output:

141.421356
1
0 100 100

result:

ok correct

Test #13:

score: 0
Accepted
time: 2ms
memory: 5312kb

input:

1 33
0 0
100 100
50 50

output:

133.000000
3
0 0 50
1 50 100
0 100 100

result:

ok correct

Test #14:

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

input:

1 12
100 0
11 90
0 100

output:

122.000000
3
0 0 0
1 11 100
0 11 90

result:

ok correct

Test #15:

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

input:

1 12
100 0
10 89
0 100

output:

122.000000
3
0 100 100
1 0 89
0 10 89

result:

ok correct

Test #16:

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

input:

2 1
2 1
5 1
1 3
6 3

output:

3.000000
1
0 5 1

result:

ok correct

Test #17:

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

input:

2 2
2 1
5 1
1 3
6 3

output:

3.000000
1
0 5 1

result:

ok correct

Test #18:

score: -100
Wrong Answer
time: 0ms
memory: 5376kb

input:

1 2
1 1
5 3
7 2

output:

4.472136
1
0 5 3

result:

wrong answer read 4.472136 but expected 4.000000, error = 0.472136