QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#74237#5433. Absolute DifferenceArraiter#WA 11ms16264kbC++173.6kb2023-01-31 10:23:542023-01-31 10:23:58

詳細信息

Test #1:

score: 100
Accepted
time: 4ms
memory: 10024kb

input:

1 1
0 1
0 1

output:

0.33333333333

result:

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

Test #2:

score: 0
Accepted
time: 11ms
memory: 16264kb

input:

1 1
0 1
1 1

output:

0.50000000000

result:

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

Test #3:

score: 0
Accepted
time: 5ms
memory: 9952kb

input:

1 1
-1000000000 1000000000
-1000000000 1000000000

output:

666666666.66666666669

result:

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

Test #4:

score: 0
Accepted
time: 4ms
memory: 9964kb

input:

1 1
-1000000000 0
0 1000000000

output:

1000000000.00000000000

result:

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

Test #5:

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

input:

1 1
-1000000000 -1000000000
-1000000000 1000000000

output:

1000000000.00000000000

result:

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

Test #6:

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

input:

1 1
-999999999 1000000000
-1000000000 -1000000000

output:

1000000000.50000000000

result:

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

Test #7:

score: 0
Accepted
time: 4ms
memory: 16064kb

input:

1 1
-1000000000 1000000000
-999999999 -999999999

output:

999999999.00000000047

result:

ok found '999999999.000000000', expected '999999999.000000000', error '0.000000000'

Test #8:

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

input:

1 1
1000000000 1000000000
-1000000000 -1000000000

output:

2000000000

result:

ok found '2000000000.000000000', expected '2000000000.000000000', error '0.000000000'

Test #9:

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

input:

1000 1000
-2175 -2174
-1068 -1065
-1721 -1718
777 834
1162 1169
-3529 -3524
3966 3993
1934 1952
-234 -223
-4967 -4947
8500 8510
5272 5276
-6048 -6033
-34 -22
700 705
-7890 -7886
5538 5543
4114 4126
-9201 -9162
-1521 -1519
-5103 -5100
439 441
993 997
-1684 -1680
-8413 -8404
6724 6728
-3242 -3239
2616...

output:

6717.11714574119

result:

ok found '6717.117145741', expected '6717.117145739', error '0.000000000'

Test #10:

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

input:

1000 1000
-5010 -4999
-2128 -2113
-5798 -5765
705 713
-3956 -3938
-5308 -5307
6759 6772
-772 -770
-860 -859
2308 2323
-5500 -5500
5140 5177
-6747 -6733
7509 7511
8864 8870
-6382 -6374
1901 1904
-5763 -5760
3019 3027
2962 2963
-314 -301
-222 -203
-726 -724
-62 -58
-1203 -1195
-5216 -5215
-4298 -4292
...

output:

0.00000000000

result:

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