QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#485892#7184. Transport PlusesMaMengQiWA 2ms12032kbC++175.2kb2024-07-21 11:50:342024-07-21 11:50:35

详细

Test #1:

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

input:

1 2
1 1
5 3
6 2

output:

4.0000000000
3
0 1 2
1 6 3
0 5 3

result:

ok correct

Test #2:

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

input:

2 1
1 1
6 1
1 3
6 3

output:

2.0000000000
2
1 0 3
2 6 1

result:

ok correct

Test #3:

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

input:

0 0
1 1
1 1

output:

0.0000000000
0

result:

ok correct

Test #4:

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

input:

0 0
100 100
0 0

output:

141.4213562373
1
0 0 0

result:

ok correct

Test #5:

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

input:

1 0
100 100
0 0
100 100

output:

100.0000000000
2
1 100 0
0 0 0

result:

ok correct

Test #6:

score: -100
Wrong Answer
time: 2ms
memory: 10576kb

input:

1 0
100 100
0 0
100 0

output:

1.0000000000
2
0 100 99
1 0 0

result:

wrong answer read 1.000000 but expected 0.000000, error = 1.000000