QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#298948#7903. Computational Intelligenceucup-team1126#TL 4ms3648kbC++201.6kb2024-01-06 16:07:382024-01-06 16:07:40

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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.333333333333
0.765195716465
1.076635732893

result:

ok 3 numbers

Test #2:

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

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.777777777778
0.777777777778
1521.070405024666

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.028267617365
5.744131448898
14.594278702891
2.952178245405
4.993502694100
6.058717255345
7.459408700250
11.228028907921
16.325707847493
11.072245157184
9.504557451154
5.500000000000
9.040049985827
5.326347910889
3.035934371285
5.808804183012
17.363719789524
9.995194519238
6.993302622884
6.55043322...

result: