QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#74217#5433. Absolute DifferenceBeyondHeaven#WA 2ms3688kbC++172.6kb2023-01-31 09:43:402023-01-31 09:43:44

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3656kb

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: 3512kb

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

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

input:

1 1
-1000000000 0
0 1000000000

output:

1000000000.00000000000000000000

result:

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

Test #5:

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

input:

1 1
-1000000000 -1000000000
-1000000000 1000000000

output:

1000000000.00000000000000000000

result:

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

Test #6:

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

input:

1 1
-999999999 1000000000
-1000000000 -1000000000

output:

1000000000.49999988079071044922

result:

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

Test #7:

score: -100
Wrong Answer
time: 2ms
memory: 3688kb

input:

1 1
-1000000000 1000000000
-999999999 -999999999

output:

1999999998.00000000000000000000

result:

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