QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#188554#5433. Absolute Differenceucup-team899#WA 1ms3776kbC++172.5kb2023-09-25 23:46:192023-09-25 23:46:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1 1
0 1
0 1

output:

0.3333333333

result:

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

Test #2:

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

input:

1 1
0 1
1 1

output:

0.5000000000

result:

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

Test #3:

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

input:

1 1
-1000000000 1000000000
-1000000000 1000000000

output:

666666666.6666666269

result:

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

Test #4:

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

input:

1 1
-1000000000 0
0 1000000000

output:

1000000000.0000000000

result:

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

Test #5:

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

input:

1 1
-1000000000 -1000000000
-1000000000 1000000000

output:

999999999.9999998808

result:

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

Test #6:

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

input:

1 1
-999999999 1000000000
-1000000000 -1000000000

output:

1000000000.5000001192

result:

ok found '1000000000.500000119', expected '1000000000.500000000', error '0.000000000'

Test #7:

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

input:

1 1
-1000000000 1000000000
-999999999 -999999999

output:

1999999999.0000000000

result:

wrong answer 1st numbers differ - expected: '999999999.0000000', found: '1999999999.0000000', error = '1.0000000'