QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#299791#7903. Computational Intelligenceucup-team159TL 881ms4260kbC++20130.2kb2024-01-07 08:01:062024-01-07 08:01:06

详细

Test #1:

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

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.33333333333333337034
0.76519571646421269406
1.07663573289517766618

result:

ok 3 numbers

Test #2:

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

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.77777777777777790114
0.77777777777777790114
1521.07040502466543330229

result:

ok 3 numbers

Test #3:

score: 0
Accepted
time: 881ms
memory: 4260kb

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.02826761736816152393
5.74413144889608950905
14.59427870289162143536
2.95217824541431861363
4.99350269409640556972
6.05871725535919214423
7.45940870024897240143
11.22802890792007701748
16.32570784749508518985
11.07224515718976931566
9.50455745115642969267
5.50000000000000000000
9.040049985828504830...

result:

ok 100000 numbers

Test #4:

score: -100
Time Limit Exceeded

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.51622634241505505059
7.89515218105804983395
7.61925280412387273543
6.27210135408580615746
10.67658778433564492616
4.04814634922073501855
13.70416881647370388464
5.96072488523334698129
4.75227372376489842765
5.80848685831549982339
6.04933461740531264184
4.21200130353905954905
5.23105219072295746230...

result: