QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#299788#7903. Computational Intelligenceucup-team159WA 1182ms4404kbC++20130.2kb2024-01-07 07:55:362024-01-07 07:55:36

詳細信息

Test #1:

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

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.76519571646421158384
1.07663573289517766618

result:

ok 3 numbers

Test #2:

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

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: 702ms
memory: 4404kb

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.74413144889605664645
14.59427870289162143536
2.95217824541432038998
4.99350269409640024065
6.05871725535919392058
7.45940870024897240143
11.22802890792007701748
16.32570784749508518985
11.07224515718976931566
9.50455745115642969267
5.50000000000000000000
9.040049985828504830...

result:

ok 100000 numbers

Test #4:

score: 0
Accepted
time: 1182ms
memory: 4220kb

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.51622634241478593253
7.89515218105797700332
7.61925280412387273543
6.27210135408577507121
10.67658778433563249166
4.04814634922069416234
13.70416881647363638308
5.96072488523334165222
4.75227372376488421679
5.80848685831548916525
6.04933461740527711470
4.21200130353904533820
5.23105219072249738588...

result:

ok 100000 numbers

Test #5:

score: 0
Accepted
time: 121ms
memory: 4336kb

input:

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

output:

4.53382350291181346336
7.90569415042094725266
3.39934634239518906895
0.94280904158206346732
8.06225774829854913150
9.84885780179610570428
6.49999999999999822364
6.69991708074725789146
4.53382350291181346336
5.83095189484530251889
6.01608765374943565973
5.46707315561891071809
5.67646212197546695677
3...

result:

ok 100000 numbers

Test #6:

score: 0
Accepted
time: 93ms
memory: 4248kb

input:

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

output:

6.52380952380952372494
4.01386485959743222196
7.50000000000000000000
5.50701012290943392458
2.74873708374510705710
2.68741924943284926641
3.90156663690654248455
2.10818510677892012595
4.33333333333333481363
2.35702260395515805769
4.17665469538055678100
5.05964425626941594061
3.48484848484848441785
3...

result:

ok 100000 numbers

Test #7:

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

input:

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

output:

6.04484155980277648723
8.80690844162823971430
7.21198849247920392713
9.70589445424798569206
5.87988974142794695865
11.75173433657282195952
7.38732746840757670270
7.55250825182466378749
4.79590055374057300241
4.58551110994915234187
11.63658732197035128308
6.53946727358236667982
8.15591894281577722836...

result:

wrong answer 27907th numbers differ - expected: '8.3163309', found: '8.3163307', error = '0.0000000'