QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#299461#7903. Computational Intelligenceucup-team216TL 4ms3944kbC++171.5kb2024-01-06 21:22:542024-01-06 21:22:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
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.33333333333333
0.76519571646421
1.07663573289518

result:

ok 3 numbers

Test #2:

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

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.07040502466566

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.02826761736816
5.74413144889609
14.59427870289163
2.95217824541432
4.99350269409641
6.05871725535919
7.45940870024897
11.22802890792008
16.32570784749509
11.07224515718977
9.50455745115643
5.50000000000000
9.04004998582850
5.32634791088732
3.03593437129009
5.80880418301625
17.36371978952247
9.9951...

result: