QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#225959#2771. Need for Speeducup-team2172#WA 1ms3828kbC++14551b2023-10-25 13:14:122023-10-25 13:14:12

詳細信息

Test #1:

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

input:

3 5
4 -1
4 0
10 3

output:

3.000000000

result:

ok found '3.0000000', expected '3.0000000', error '0.0000000'

Test #2:

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

input:

4 10
5 3
2 2
3 6
3 1

output:

-0.508653377

result:

ok found '-0.5086534', expected '-0.5086534', error '-0.0000000'

Test #3:

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

input:

1 500
123 456

output:

-455.754000000

result:

ok found '-455.7540000', expected '-455.7540000', error '-0.0000000'

Test #4:

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

input:

3 1
1 2
1 3
1 6

output:

-0.000000000

result:

ok found '-0.0000000', expected '-0.0000000', error '-0.0000000'

Test #5:

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

input:

4 10
1 -1
2 -2
3 -3
4 -5

output:

5.499619920

result:

ok found '5.4996199', expected '5.4996199', error '0.0000000'

Test #6:

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

input:

100 100001
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
10...

output:

-0.000010000

result:

ok found '-0.0000100', expected '-0.0000100', error '-0.0000000'

Test #7:

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

input:

100 99001
1000 999
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1000 1
1...

output:

0.000000009

result:

ok found '0.0000000', expected '0.0000000', error '0.0000000'

Test #8:

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

input:

1000 300
408 -17
943 -93
4 706
172 -343
472 -812
888 -669
507 -655
117 -324
209 -639
370 142
608 192
521 852
460 -269
93 56
821 -671
141 -240
190 574
608 79
681 295
742 123
954 91
194 -854
759 -807
639 593
901 147
877 740
492 216
498 985
884 -202
229 -982
261 -887
166 255
464 893
50 -63
664 -344
276...

output:

1838.034569344

result:

ok found '1838.0345693', expected '1838.0345693', error '0.0000000'

Test #9:

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

input:

1000 1
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1000
1000 -1...

output:

1000004.999999999

result:

wrong answer 1st numbers differ - expected: '1001000.0000000', found: '1000005.0000000', error = '0.0009940'