QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#153575#5433. Absolute DifferenceZhaoZiLongWA 2ms12216kbC++114.6kb2023-08-30 11:46:122023-08-30 11:46:12

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 9912kb

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: 2ms
memory: 11960kb

input:

1 1
0 1
1 1

output:

0.500000000000000

result:

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

Test #3:

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

input:

1 1
-1000000000 1000000000
-1000000000 1000000000

output:

666666666.666666666686

result:

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

Test #4:

score: 0
Accepted
time: 2ms
memory: 12216kb

input:

1 1
-1000000000 0
0 1000000000

output:

1000000000.000000000058

result:

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

Test #5:

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

input:

1 1
-1000000000 -1000000000
-1000000000 1000000000

output:

2000000000000000000.000000000000000

result:

wrong answer 1st numbers differ - expected: '1000000000.0000000', found: '2000000000000000000.0000000', error = '1999999999.0000000'