QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#578767#5433. Absolute Differencegyydp123_LIMWA 1ms5932kbC++141.9kb2024-09-20 21:12:282024-09-20 21:12:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1 1
0 1
0 1

output:

0.33333333333333331483

result:

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

Test #2:

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

input:

1 1
0 1
1 1

output:

0.50000000000000000000

result:

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

Test #3:

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

input:

1 1
-1000000000 1000000000
-1000000000 1000000000

output:

666666666.66666662693023681641

result:

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

Test #4:

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

input:

1 1
-1000000000 0
0 1000000000

output:

1000000000.00000000000000000000

result:

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

Test #5:

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

input:

1 1
-1000000000 -1000000000
-1000000000 1000000000

output:

2000000000.00000000000000000000

result:

wrong answer 1st numbers differ - expected: '1000000000.0000000', found: '2000000000.0000000', error = '1.0000000'