QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#153609#5433. Absolute DifferenceGuanYunchangWA 3ms11932kbC++114.8kb2023-08-30 13:47:052023-08-30 13:47:05

详细

Test #1:

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

input:

1 1
0 1
0 1

output:

0.333333333333333

result:

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

Test #2:

score: 0
Accepted
time: 3ms
memory: 11932kb

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: 0ms
memory: 9732kb

input:

1 1
-1000000000 1000000000
-1000000000 1000000000

output:

666666666.666666666686069

result:

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

Test #4:

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

input:

1 1
-1000000000 0
0 1000000000

output:

1000000000.000000000058208

result:

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

Test #5:

score: -100
Wrong Answer
time: 3ms
memory: 11784kb

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'