QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#261938#7753. Energy Distributionucup-team2673WA 1ms3772kbC++141.0kb2023-11-23 13:49:192023-11-23 13:49:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3656kb

input:

2
0 1
1 0

output:

0.2500000000

result:

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

Test #2:

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

input:

3
0 2 1
2 0 2
1 2 0

output:

0.5714285714

result:

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

Test #3:

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

input:

3
0 1 2
1 0 1
2 1 0

output:

0.5000000000

result:

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

Test #4:

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

input:

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

output:

0.7499998808

result:

ok found '0.7499999', expected '0.7500000', error '0.0000001'

Test #5:

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

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

result:

ok found '0.9999999', expected '1.0000000', error '0.0000001'

Test #6:

score: 0
Accepted
time: 1ms
memory: 3580kb

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:

2.8571423377

result:

ok found '2.8571423', expected '2.8571430', error '0.0000002'

Test #7:

score: -100
Wrong Answer
time: 1ms
memory: 3772kb

input:

7
0 0 0 0 50 10 45
0 0 0 0 0 3 1
0 0 0 0 0 4 16
0 0 0 0 44 0 0
50 0 0 44 0 37 6
10 3 4 0 37 0 2
45 1 16 0 6 2 0

output:

12.5048045181

result:

wrong answer 1st numbers differ - expected: '12.5115850', found: '12.5048045', error = '0.0005419'