QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#546733#5433. Absolute Differenceucup-team1118WA 0ms3916kbC++202.2kb2024-09-04 12:31:042024-09-04 12:31:04

詳細信息

Test #1:

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

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

input:

1 1
0 1
1 1

output:

0.500000000000

result:

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

Test #3:

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

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

input:

1 1
-1000000000 0
0 1000000000

output:

1000000000.000000000000

result:

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

Test #5:

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

input:

1 1
-1000000000 -1000000000
-1000000000 1000000000

output:

1000000000.000000000000

result:

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

Test #6:

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

input:

1 1
-999999999 1000000000
-1000000000 -1000000000

output:

1000000000.000000000000

result:

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

Test #7:

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

input:

1 1
-1000000000 1000000000
-999999999 -999999999

output:

999999998.500000000698

result:

ok found '999999998.500000000', expected '999999999.000000000', error '0.000000001'

Test #8:

score: -100
Wrong Answer
time: 0ms
memory: 3732kb

input:

1 1
1000000000 1000000000
-1000000000 -1000000000

output:

1000000000.000000000000

result:

wrong answer 1st numbers differ - expected: '2000000000.0000000', found: '1000000000.0000000', error = '0.5000000'