Search found 1 match

by bati06
Tue Jun 28, 2016 2:25 pm
Forum: Volume 102 (10200-10299)
Topic: 10212 - The Last Non-zero Digit.
Replies: 63
Views: 30563

Re: 10212 - The Last Non-zero Digit.

Hi! I just want to point out that there are some modulo arithmetic solutions posted on the internet ( 1 , 2 , 3 , ...) which get AC on UVa OJ but they are not correct. It is not enough to keep remainder by 1e9. See input "9765634 10" and "9765625 10". Correct output is "2" and "3" respectively. This...

Go to advanced search