QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#88387#5570. Epidemic EscapeLittle09TL 2ms4024kbC++141.7kb2023-03-16 09:33:512023-03-16 09:33:55

詳細信息

Test #1:

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

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: 2ms
memory: 3928kb

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: -100
Time Limit Exceeded

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:


result: