wrong answer sqrt ???

Revision en1, by solver11, 2020-02-08 13:32:07

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

Tags #sqrt decomposition, #question

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English solver11 2020-02-08 13:32:07 400 Initial revision (published)