QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#189225#5433. Absolute Differencecbant15WA 1ms3812kbC++142.9kb2023-09-27 01:39:312023-09-27 01:39:31

詳細信息

Test #1:

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

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: 1ms
memory: 3728kb

input:

1 1
0 1
1 1

output:

0.5

result:

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

Test #3:

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

input:

1 1
-1000000000 1000000000
-1000000000 1000000000

output:

666666666.666667

result:

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

Test #4:

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

input:

1 1
-1000000000 0
0 1000000000

output:

1000000000

result:

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

Test #5:

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

input:

1 1
-1000000000 -1000000000
-1000000000 1000000000

output:

0

result:

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