task 18 Square Root potential bug in answer checker

Back to General discussions forum

Raywon Kari     2020-04-09 11:02:48

Hi guys,

I think task 18 has a bug in the answer check.

In the answer checker, some values match and some values do not, which is strange. I am using golang to solve the problems, and upon running the code locally and comparing the results with the answer check, I see differences.

Did any one see similar behavior?

Thanks! //Raywon

Raywon Kari     2020-04-09 11:06:30

or may be its my code which is not working as it should, I will continue debugging.

Raywon Kari     2020-04-09 12:15:50

solved now, it was my faulty code. I was initializing r at the wrong place :)

Rodion (admin)     2020-04-10 02:41:50
User avatar

Hi Friend!

Great news :) I always say the bugs we made and found ourselves teaches us more then the whole bugless program :)

Raywon Kari     2020-04-10 08:26:27

Hi,

I agree, and thanks for the good words :)

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