GO Solution For UVa 10093 - An Easy Problem!. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

Have you heard the fact “The base of every normal number system is 10”? Of course, I am not talking about number systems like Stern Brockot Number System. This problem has nothing to do with this fact but may have some similarity.

You will be given an N based integer number R and you are given the


You can find the full details of the problem An Easy Problem! at UVa Online Judge

Sample Input


Sample Output


Solution: Please check the main.go snippet for the solution.

Solution originally posted at: Github by @codingsince1985