QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#174628#7184. Transport Plusesucup-team1118WA 2ms3968kbC++142.2kb2023-09-10 11:30:282023-09-10 11:30:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3968kb

input:

1 2
1 1
5 3
6 2

output:

4.0000000000
3
0 1 2
1 5 2
0 5 3

result:

ok correct

Test #2:

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

input:

2 1
1 1
6 1
1 3
6 3

output:

2.0000000000
2
1 1 3
2 6 1

result:

ok correct

Test #3:

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

input:

0 0
1 1
1 1

output:

0.0000000000
0

result:

ok correct

Test #4:

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

input:

0 0
100 100
0 0

output:

141.4213562373
1
0 0 0

result:

ok correct

Test #5:

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

input:

1 0
100 100
0 0
100 100

output:

100.0000000000
2
1 0 100
0 0 0

result:

ok correct

Test #6:

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

input:

1 0
100 100
0 0
100 0

output:

0.0000000000
1
1 0 0

result:

ok correct

Test #7:

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

input:

1 0
100 100
0 0
0 100

output:

0.0000000000
1
1 0 0

result:

ok correct

Test #8:

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

input:

1 100
50 50
0 0
50 50

output:

70.7106781187
1
0 0 50

result:

wrong answer arrived at (0.000000, 50.000000) instead of (0.000000, 0.000000)