QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#305382#7903. Computational Intelligenceucup-team1126WA 232ms3948kbC++204.7kb2024-01-15 09:47:082024-01-15 09:47:09

详细

Test #1:

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

input:

3
0 0 1 0
0 0 1 0
0 0 1 0
0 0 0 1
0 0 1 0
0 1 1 1

output:

0.333333333333
0.765195716464
1.076635732895

result:

ok 3 numbers

Test #2:

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

input:

3
0 1 0 0
0 -1 0 2
0 0 1 0
2 0 -1 0
-1000 0 0 999
0 -998 999 0

output:

0.777777777778
0.777777777778
1521.070405023638

result:

ok 3 numbers

Test #3:

score: 0
Accepted
time: 232ms
memory: 3896kb

input:

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

output:

9.028267617368
5.744131448896
14.594278702892
2.952178245414
4.993502694096
6.058717255359
7.459408700249
11.228028907920
16.325707847495
11.072245157190
9.504557451156
5.500000000000
9.040049985829
5.326347910887
3.035934371290
5.808804183016
17.363719789522
9.995194519237
6.993302622881
6.55043322...

result:

ok 100000 numbers

Test #4:

score: -100
Wrong Answer
time: 192ms
memory: 3908kb

input:

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

output:

6.516226342415
7.895152181058
7.619252804124
6.272101354086
10.676587784336
4.048146349221
13.704168816474
5.960724885233
4.752273723765
5.808486858316
6.049334617405
4.212001303539
5.231052190723
7.816888558907
4.839493440441
6.085980058665
8.540849032627
6.899466200886
5.198575702558
7.92716381072...

result:

wrong output format Expected double, but "nan" found