QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#121137#6124. King Of ZombiesZhangYiDeWA 10ms4200kbC++144.1kb2023-07-07 16:56:372023-07-07 16:56:40

详细

Test #1:

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

input:

5 3
0 0 3 0
10 10 0 -3
1 1 -1 -1
16 1 -1 0
100 100 100 100
-100 -3 10 0

output:

2.6262265521
0.0000000000
3.0000000000
-1
14.2857142857

result:

ok 5 numbers

Test #2:

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

input:

4 10
0 0 0 0
10 0 0 0
20 0 0 0
30 0 0 0
41 0 0 0

output:

0.0000000000
0.0000000000
0.0000000000
-1

result:

ok 4 numbers

Test #3:

score: 0
Accepted
time: 10ms
memory: 4120kb

input:

814 5261
8674 -10000 83 9959
-3135 4963 -5450 -980
-6718 -5021 -5412 1206
8906 -9471 -4357 5471
-3795 2180 -4645 -2664
9110 -5528 9221 -3130
-3916 1465 -6825 5446
1767 -3479 -6871 -7960
-3523 5303 -1141 7806
3362 -3357 7529 -6106
-7323 -8776 3458 3288
-4825 -5940 -4857 95
-3169 6767 -3056 -2340
3228...

output:

0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0...

result:

ok 814 numbers

Test #4:

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

input:

470 235
5883 -1751 1075 368
7790 2418 3758 -3846
-5164 -3433 -5837 -7492
-3987 -6763 6899 -9252
-7032 2446 -4829 6204
5952 -1391 -6466 -1366
1902 -976 -6563 3105
-726 2931 4726 5388
5891 -2901 -3071 906
1237 6576 -2018 1582
-4444 -974 -537 -7998
-5090 -3067 -6005 -6746
7139 -9713 -6108 5218
150 -569...

output:

-1
-1
-1
-1
-1
-1
-1
3.8776035416
-1
-1
-1
-1
-1
1.8672340236
9.4843862520
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0.4692992262
1.2760146655
-1
-1
-1
-1
0.8519144711
0.8400612858
-1
-1
-1
2.0495981783
-1
-1
-1
16.6338579748
1.1308375470
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-...

result:

wrong answer 199th numbers differ - expected: '0.7657190', found: '1.1056613', error = '0.3399423'