Hi i wrote in my previous blog that i changed the base of the number that i used as the sqrt and my solution passed and this time i i was getting a wrong answer and i just changed the base and got an accepted and i was looking for bugs in my code for quite a while but i didn't find any so can anybody explain to me why this happened??
this is the problem btw: 455D - Serega and Fun
if you're wondering why this happened as i am this is the submission 70555344 thanks if you take the time and try to debug it :)
Your solution can't even read first sample if you change your SQRT constant to 1, but your sqrt structure should know how to work with any constant. Maybe that fact may help you.
well i just checked and it do work in this case
I think you just got lucky XD