QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#678919#7753. Energy Distributionucup-team4940#TL 876ms4000kbC++141.0kb2024-10-26 16:25:312024-10-26 16:25:31

详细

Test #1:

score: 100
Accepted
time: 718ms
memory: 3932kb

input:

2
0 1
1 0

output:

0.250000000

result:

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

Test #2:

score: 0
Accepted
time: 790ms
memory: 3948kb

input:

3
0 2 1
2 0 2
1 2 0

output:

0.571428571

result:

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

Test #3:

score: 0
Accepted
time: 755ms
memory: 4000kb

input:

3
0 1 2
1 0 1
2 1 0

output:

0.500000000

result:

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

Test #4:

score: 0
Accepted
time: 876ms
memory: 4000kb

input:

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

output:

0.750000000

result:

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

Test #5:

score: -100
Time Limit Exceeded

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:

1.000000000

result: