QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#189311#5433. Absolute Differencecbant15WA 2ms3820kbC++143.3kb2023-09-27 10:17:002023-09-27 10:17:01

詳細信息

Test #1:

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

input:

1 1
0 1
0 1

output:

0.33333333333333333334

result:

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

Test #2:

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

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

input:

1 1
-1000000000 1000000000
-1000000000 1000000000

output:

666666666.66666666663

result:

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

Test #4:

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

input:

1 1
-1000000000 0
0 1000000000

output:

1000000000

result:

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

Test #5:

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

input:

1 1
-1000000000 -1000000000
-1000000000 1000000000

output:

1000000000

result:

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

Test #6:

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

input:

1 1
-999999999 1000000000
-1000000000 -1000000000

output:

1000000000.5

result:

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

Test #7:

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

input:

1 1
-1000000000 1000000000
-999999999 -999999999

output:

999999999.00000000052

result:

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

Test #8:

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

input:

1 1
1000000000 1000000000
-1000000000 -1000000000

output:

2000000000

result:

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

Test #9:

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

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:

2: (-9985 -9985)
2: (-9933 -9933)
1: 9573 (-9670 -9670) (-9641 -9640)
2: (-9460 -9460)
1: 9573 (-9415 -9415) (-9415 -9413)
1: 9573 (-9067 -9067) (-9066 -9064)
2: (-8929 -8929)
2: (-8565 -8565)
2: (-8538 -8538)
2: (-8417 -8417)
2: (-8250 -8250)
1: 9573 (-7879 -7879) (-7871 -7866)
2: (-7467 -7467)
1: ...

result:

wrong output format Expected double, but "2:" found