Viewing other problems with insights similar to only this insight from Codeforces 913G: Power Substring:
This is the discrete logarithm problem, but here, we have that 2 is a primitive root mod 5^k for any k. by Solarion
-
Codeforces 1860B: Fancy Coins
Shared similar insights
- Be careful not to use brute force. The constraints are less than 10^8. Consider using floor division and modulus instead. by Solarion
- View ALL insights of this problem that are shared
Page 1 of 1.
View links to all pages
1About • Privacy Notice • Rules • Problems list • Journal • Your profile • GitHub
Moon Symbol icon by Icons8 • Sun icon by Icons8 • Emojis from Twemoji by Twitter under CC by 4.0