I found most answers here not clear enough for my case such as
$$
123155131514315^{4515131323164343214547}
$$
I wrote the $n\bmod10$ in Python and execution time ran out. So I need a faster algorithm or method. Sometimes, the result is incorrect as it failed the test case.
No comments:
Post a Comment