GO Solution For UVa 10519 - !! Really Strange !!. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

Raju has recently passed BSc. Engineering in Computer Science & Engineering from BUET (Bangladesh University of Extraordinary Talents), the best university of Bangladesh. After passing, he has been appointed manager of BCS (Bangladesh Calculation Society ). His first project is to visit a district a

...

You can find the full details of the problem !! Really Strange !! at UVa Online Judge

Sample Input

0
3
4
10000000000

Sample Output

1
8
14
99999999990000000002

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

Solution originally posted at: Github by @codingsince1985