QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#260899#7753. Energy Distributionucup-team1060TL 907ms9164kbPython35.1kb2023-11-22 16:26:562023-11-22 16:26:59

详细

Test #1:

score: 100
Accepted
time: 328ms
memory: 9164kb

input:

2
0 1
1 0

output:

0.25

result:

ok found '0.2500000', expected '0.2500000', error '0.0000000'

Test #2:

score: 0
Accepted
time: 497ms
memory: 9128kb

input:

3
0 2 1
2 0 2
1 2 0

output:

0.5714285688888888

result:

ok found '0.5714286', expected '0.5714290', error '0.0000004'

Test #3:

score: 0
Accepted
time: 504ms
memory: 9092kb

input:

3
0 1 2
1 0 1
2 1 0

output:

0.4999999944444282

result:

ok found '0.5000000', expected '0.5000000', error '0.0000000'

Test #4:

score: 0
Accepted
time: 658ms
memory: 9128kb

input:

4
0 3 1 0
3 0 1 0
1 1 0 2
0 0 2 0

output:

0.749999999999951

result:

ok found '0.7500000', expected '0.7500000', error '0.0000000'

Test #5:

score: 0
Accepted
time: 907ms
memory: 9144kb

input:

5
0 0 0 4 4
0 0 2 0 4
0 2 0 2 0
4 0 2 0 0
4 4 0 0 0

output:

0.9999999599999022

result:

ok found '1.0000000', expected '1.0000000', error '0.0000000'

Test #6:

score: -100
Time Limit Exceeded

input:

6
0 9 5 5 10 6
9 0 0 0 0 1
5 0 0 0 3 0
5 0 0 0 10 5
10 0 3 10 0 0
6 1 0 5 0 0

output:


result: