QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#413822#2771. Need for Speeducup-team1005#WA 37ms10912kbPython3283b2024-05-18 09:28:172024-05-18 09:28:17

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 11ms
memory: 10580kb

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: 14ms
memory: 10644kb

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: 15ms
memory: 10736kb

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: 15ms
memory: 10640kb

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: 11ms
memory: 10576kb

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: 11ms
memory: 10600kb

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: 17ms
memory: 10744kb

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.000000010

result:

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

Test #8:

score: 0
Accepted
time: 37ms
memory: 10912kb

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.034569345

result:

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

Test #9:

score: -100
Wrong Answer
time: 32ms
memory: 10796kb

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:

1000000.000000000

result:

wrong answer 1st numbers differ - expected: '1001000.0000000', found: '1000000.0000000', error = '0.0009990'