QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#299471#7903. Computational Intelligenceucup-team216TL 1ms4328kbC++171.4kb2024-01-06 21:26:372024-01-06 21:26:38

详细

Test #1:

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

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.33333333333333
0.76519571646680
1.07663573289541

result:

ok 3 numbers

Test #2:

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

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.77777777777778
0.77777777777778
1521.07040502466589

result:

ok 3 numbers

Test #3:

score: -100
Time Limit Exceeded

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.02826761736817
5.74413144889621
14.59427870289162
2.95217824541441
4.99350269409647
6.05871725535922
7.45940870024893
11.22802890792005
16.32570784749507
11.07224515718972
9.50455745115642
5.50000000000000
9.04004998582850
5.32634791088736
3.03593437129011
5.80880418301621
17.36371978952252
9.9951...

result: