I did not understand the moment but now I realized that the calculation of the greatest common divisor (GCD) returns the same number if the two parameters are equal. This was my mistake. Ps.: google translator. Sorry!!
On Tue, Apr 9, 2019 at 12:07 PM Nicholas Sadjoli <nick.sadj...@gmail.com> wrote: > Hmm, alright noted I'll take a look into this later when I have more time > then /dev/joe. Judging by the replies here however there does seem to be > other cases where this code could cause RE. Will update once I've tried the > fix. > > > -- > You received this message because you are subscribed to the Google Groups > "Google Code Jam" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-code+unsubscr...@googlegroups.com. > To post to this group, send email to google-code@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-code/530d6f3a-a8d3-4911-b160-339a6b92ffca%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- Helder Faria -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-code+unsubscr...@googlegroups.com. To post to this group, send email to google-code@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-code/CAKZz6-t_zGa78fu6pNxCSJFpzG6FFiGd0LJhLg6Fd03CGM1EFA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.