QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#199516#6401. Classic: N Real DNA Potsucup-team607#WA 0ms3856kbC++171.5kb2023-10-04 12:46:112023-10-04 12:46:11

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 3
1 2
2 4
3 3
4 1

output:

-0.999999996545

result:

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

Test #2:

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

input:

2 2
1 1
5 3

output:

0.500000002339

result:

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

Test #3:

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

input:

2 2
222640995 547139825
489207317 725361095

output:

0.668581340464

result:

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

Test #4:

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

input:

1000 20
545612 774435015
828317 212155588
5294705 85926095
5648835 764528941
6159263 570820268
7177330 744079287
8446124 162286636
8735551 586528841
9263030 524140841
9505706 636254627
12111352 182639083
12750780 238494418
13149143 913232250
13382784 11485121
13699797 414697815
14263990 423817548
15...

output:

-0.169260005775

result:

wrong answer 1st numbers differ - expected: '3.7932105', found: '-0.1692600', error = '1.0446218'