QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#463573#7670. Messengerucup-team1005WA 1930ms7964kbC++202.6kb2024-07-05 01:14:242024-07-05 01:14:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
0 0
0 10
2
4 10
4 0

output:

4.000000000

result:

ok correct

Test #2:

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

input:

2
0 0
1 0
3
2 0
3 0
3 10

output:

5.000000000

result:

ok correct

Test #3:

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

input:

2
0 30000
0 0
2
0 0
30000 0

output:

impossible

result:

ok correct

Test #4:

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

input:

2
0 30000
0 0
2
30000 0
0 0

output:

0.000000000

result:

ok correct

Test #5:

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

input:

2
30000 0
0 0
2
30000 30000
0 30000

output:

impossible

result:

ok correct

Test #6:

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

input:

2
30000 0
0 0
2
0 30000
30000 30000

output:

30000.000000000

result:

ok correct

Test #7:

score: 0
Accepted
time: 1930ms
memory: 7964kb

input:

50000
0 0
1 0
1 1
2 1
2 2
3 2
3 3
4 3
4 4
5 4
5 5
6 5
6 6
7 6
7 7
8 7
8 8
9 8
9 9
10 9
10 10
11 10
11 11
12 11
12 12
13 12
13 13
14 13
14 14
15 14
15 15
16 15
16 16
17 16
17 17
18 17
18 18
19 18
19 19
20 19
20 20
21 20
21 21
22 21
22 22
23 22
23 23
24 23
24 24
25 24
25 25
26 25
26 26
27 26
27 27
28 ...

output:

3.313708499

result:

ok correct

Test #8:

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

input:

2
0 0
30000 30000
2
0 30000
30000 0

output:

0.000000000

result:

ok correct

Test #9:

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

input:

2
0 30000
0 0
2
1 0
0 0

output:

impossible

result:

ok correct

Test #10:

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

input:

2
0 1
0 0
2
30000 0
0 0

output:

14999.500000000

result:

ok correct

Test #11:

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

input:

2
0 0
15000 0
2
30000 0
15000 0

output:

0.000000000

result:

ok correct

Test #12:

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

input:

2
0 0
14999 0
2
30000 0
15000 0

output:

1.000000000

result:

ok correct

Test #13:

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

input:

2
0 0
15000 0
2
30000 0
15001 0

output:

impossible

result:

ok correct

Test #14:

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

input:

2
0 15000
0 0
2
0 15000
0 30000

output:

0.000000000

result:

ok correct

Test #15:

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

input:

2
0 14999
0 0
2
0 15000
0 30000

output:

impossible

result:

ok correct

Test #16:

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

input:

2
0 0
0 30000
2
0 30000
0 0

output:

0.000000000

result:

ok correct

Test #17:

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

input:

2
0 30000
0 15000
2
0 15000
0 0

output:

impossible

result:

ok correct

Test #18:

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

input:

2
0 0
30000 30000
2
1 1
30000 30000

output:

impossible

result:

ok correct

Test #19:

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

input:

3
0 30000
15000 15000
0 0
3
30000 30000
15000 15000
30000 0

output:

166.386285096

result:

wrong answer read 166.386285096000 but expected 0.000000000000