QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#202678#7344. Those Russian HackersZhangYiDeWA 11ms104388kbC++202.4kb2023-10-06 12:59:352023-10-06 12:59:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 103648kb

input:

3 1
0.5 0.25 0.25
0.75 0.25 0.0 0.0

output:

0.6875000000

result:

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

Test #2:

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

input:

3 2
0.3 0.4 0.3
0.0 0.0 0.0 1.0

output:

0.0900000000

result:

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

Test #3:

score: 0
Accepted
time: 3ms
memory: 104388kb

input:

3 1
0.5 0.2 0.3
1.0 0.0 0.0 0.0

output:

0.8000000000

result:

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

Test #4:

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

input:

2 1
1.0 0.0
0.7 0.3

output:

0.7000000000

result:

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

Test #5:

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

input:

2 2
0.0 1.0
0.6 0.4

output:

0.6000000000

result:

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

Test #6:

score: 0
Accepted
time: 3ms
memory: 104292kb

input:

3 1
0.1 0.1 0.8
1.0 0.0 0.0 0.0

output:

0.9000000000

result:

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

Test #7:

score: 0
Accepted
time: 3ms
memory: 104128kb

input:

2 1
0.196570 0.803430
0.417660 0.582340

output:

0.3355605738

result:

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

Test #8:

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

input:

2 1
0.392496 0.607504
1.000000 0.000000

output:

0.6075040000

result:

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

Test #9:

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

input:

10 1
0.012643 0.123624 0.053820 0.040365 0.028873 0.020157 0.055711 0.484945 0.098421 0.081441
0.085328 0.047990 0.714931 0.138813 0.012938 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000

output:

0.9010275479

result:

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

Test #10:

score: 0
Accepted
time: 8ms
memory: 104236kb

input:

10 1
0.006649 0.073200 0.000565 0.045068 0.112668 0.035625 0.046072 0.103194 0.005569 0.571390
0.195573 0.074055 0.047683 0.369439 0.161507 0.054811 0.055588 0.037380 0.003964 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000

output:

0.8538333808

result:

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

Test #11:

score: 0
Accepted
time: 3ms
memory: 103708kb

input:

10 1
0.145228 0.019318 0.105821 0.185187 0.088991 0.042625 0.024569 0.088478 0.047174 0.252609
0.018498 0.107130 0.001316 0.120833 0.069263 0.099338 0.005632 0.009075 0.036279 0.023135 0.008573 0.029578 0.025695 0.067194 0.023536 0.116172 0.157449 0.081304

output:

0.3063300066

result:

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

Test #12:

score: -100
Wrong Answer
time: 4ms
memory: 103980kb

input:

10 10
0.044299 0.160436 0.044139 0.088241 0.291281 0.136777 0.020766 0.124310 0.013255 0.076496
0.081824 0.025457 0.068874 0.265701 0.558144 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000

output:

0.9999806868

result:

wrong answer 1st numbers differ - expected: '0.9999839', found: '0.9999807', error = '0.0000032'