QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#360166#5433. Absolute DifferenceZ_301WA 1ms10144kbC++175.8kb2024-03-21 14:03:242024-03-21 14:03:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1 1
0 1
0 1

output:

0.333333333333

result:

ok found '0.333333333', expected '0.333333333', error '0.000000000'

Test #2:

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

input:

1 1
0 1
1 1

output:

0.500000000000

result:

ok found '0.500000000', expected '0.500000000', error '0.000000000'

Test #3:

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

input:

1 1
-1000000000 1000000000
-1000000000 1000000000

output:

666666666.666666626930

result:

ok found '666666666.666666627', expected '666666666.666666627', error '0.000000000'

Test #4:

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

input:

1 1
-1000000000 0
0 1000000000

output:

1000000000.000000119209

result:

ok found '1000000000.000000119', expected '1000000000.000000000', error '0.000000000'

Test #5:

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

input:

1 1
-1000000000 -1000000000
-1000000000 1000000000

output:

1000000000.000000119209

result:

ok found '1000000000.000000119', expected '1000000000.000000000', error '0.000000000'

Test #6:

score: -100
Wrong Answer
time: 0ms
memory: 7988kb

input:

1 1
-999999999 1000000000
-1000000000 -1000000000

output:

999999999.499999880791

result:

wrong answer 1st numbers differ - expected: '1000000000.5000000', found: '999999999.4999999', error = '0.0000000'