QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#88394#5570. Epidemic EscapeLittle09WA 104ms4632kbC++141.8kb2023-03-16 09:43:362023-03-16 09:43:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3976kb

input:

5
5 -3
5 4
-6 2
-5 0
4 1
2
-3 -10 1
6 -9 1

output:

8.700255423
3.226019562

result:

ok 2 numbers

Test #2:

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

input:

8
4 -1
4 -8
0 9
4 -7
-5 -2
5 -5
7 5
-9 2
10
4 -8 1
7 -7 5
-10 8 2
-9 9 2
4 -7 5
-1 -10 2
6 -3 2
2 -9 3
-10 -10 1
5 9 1

output:

3.167762966
26.162950904
5.461488320
6.363961030
-1
5.289408214
3.726779962
4.609772226
2.929442379
4.761728939

result:

ok 10 numbers

Test #3:

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

input:

5
-4 -7
5 0
2 4
-7 -7
4 4
20
0 -5 2
-4 -7 2
-7 7 3
4 -4 3
-7 4 3
4 -4 1
2 4 1
6 -7 2
4 -4 2
4 4 3
5 4 1
-1 9 2
8 9 3
4 -4 2
6 3 3
-10 -3 2
-7 7 1
9 -4 1
-4 -7 3
-2 0 2

output:

7.000000000
5.130527657
-1
-1
-1
3.535533905
2.236067976
11.985407793
15.320646925
3.535533905
2.462740091
4.527692567
3.762998305
15.320646925
2.981423969
5.621703504
7.071067812
2.735793833
-1
8.124999999

result:

ok 20 numbers

Test #4:

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

input:

100
63 -48
20 -62
-81 -31
-17 -93
2 -74
72 25
-71 37
-71 17
56 67
-47 65
-89 14
62 30
-71 -33
14 -53
-57 -52
30 80
-14 -69
-45 -19
-54 -71
58 -20
-57 12
5 -56
-76 -2
26 61
24 60
10 -97
-63 38
17 81
-43 -38
44 35
-86 37
62 72
77 11
41 29
14 81
77 55
-54 -33
-43 -51
76 14
55 47
43 24
69 -13
16 75
11 9...

output:

26.758678868
29.571405993
24.622144504
27.771745619
26.678366709
24.423702460
28.893348195
29.776169557
31.940362971
27.214901601
31.728095046
27.071160551
25.299110030
26.871065151
28.995839452
28.356314246
29.987258891
25.649623719
25.149668132
28.301156970
28.611751954
26.690157515
28.350485228
3...

result:

ok 100 numbers

Test #5:

score: -100
Wrong Answer
time: 104ms
memory: 4632kb

input:

10000
-3 3
-6 2
-4 1
-2 -5
5 -6
-7 -2
0 7
1 -4
8 0
-4 4
-6 -2
5 0
2 9
-4 -8
0 -8
7 4
-7 2
3 3
4 1
-1 7
-4 -2
6 0
3 -5
-7 2
0 -9
7 0
7 3
-6 0
1 7
6 2
2 -9
1 8
3 -3
2 -9
4 2
4 -5
6 0
-3 6
7 3
0 8
0 -4
7 0
-5 8
5 -5
-5 -1
0 9
-4 -3
-9 -1
7 -2
-7 -2
4 0
-6 6
-3 4
6 7
2 5
-8 -5
0 5
4 0
0 -4
0 -6
-5 3
-5 ...

output:

4.006723650
4.031685550
2.697236826
3.933852582
3.030509737
3.933852582
4.265834786
2.357022604
4.109667811
3.808225017
3.981391735
3.987821548
2.242673804
3.747220479
2.357022604
2.246185983
3.925130653
2.257906309
8.019056545
3.981391734
2.357022604
2.125000000
2.357022604
3.100114270
2.357022604
...

result:

wrong answer 1st numbers differ - expected: '2.1549170', found: '4.0067236', error = '0.8593401'