QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#299304#7903. Computational Intelligenceucup-team572#TL 1ms4152kbC++201.8kb2024-01-06 18:46:252024-01-06 18:46:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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.333333333333333
0.765195716464272
1.07663573289518

result:

ok 3 numbers

Test #2:

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

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.777777777777737
0.777777777777737
1521.07040502467

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.02826761736812
5.74413144891058
14.5942787028916
2.95217824541441
4.9935026941482
6.05871725536062
7.4594087002493
11.2280289079204
16.3257078474951
11.07224515719
9.50455745115634
5.5
9.04004998582864
5.32634791088777
3.03593437129017
5.80880418301033
17.3637197895226
9.99519451923725
6.993302622...

result: