possible bug with 169 solution checker

Back to General discussions forum

the_yato     2016-02-25 07:57:53

When submitting a solution for #169 Automated Landing, I keep getting an error saying that the wrong number of values were submitted. I double checked that I was submitting the correct number of values (e.g. 15 for 5 cases). So, either there's a bug with the solution checker or am I just missing some number formatting requirement?

Alexandr Milovantsev     2019-07-29 12:16:51

I also hit this problem! For exmple a send the answer
"179 99.0662693977356 0 173 99.20933246612549 0 101 99.82657432556152 0 170 97.50809669494629 0 66 98.1047511100769 0 "
without quotes, of course, but checher says "You are expected to return 15 values (for 5 cases)!" Obviously there are 15 values but something goes wrong.

Please clarify for us what is wrong here? Decimal separator? Should be only integers somewhere?

Rodion (admin)     2019-07-29 15:26:05
User avatar

Hi Friends!

I'm sorry for this inconvenience. Checker simply split your result by spaces - so probably there is some hanging trailing space or something like that.

Though I surely should improve the checker to make it bit more intelligent. I hope I'll do it soon...

Alexandr Milovantsev     2019-07-29 15:36:26

Oops, there really was trailing space. Removed it and answer passed checking!

Thank you!

Please login and solve 5 problems to be able to post at forum