GoLang Solution For UVa Online Judge: 10409 - Die Game
GO Solution For UVa 10409 - Die Game. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.
Problem Description
Life is not easy. Sometimes it is beyond your control. Now, as contestants of ACM ICPC, you might be just tasting the bitter of life. But don’t worry! Do not look only on the dark side of life, but look also on the bright side. Life may be an enjoyable game of chance, like throwing dice. Do or die!
...You can find the full details of the problem Die Game at UVa Online Judge
Sample Input
1 north 3 north east south 0
Sample Output
5 1
Solution: Please check the main.go snippet for the solution.
Solution originally posted at: Github by @codingsince1985
Comments
Leave a comment
You are not LoggedIn but you can comment as an anonymous user which requires manual approval. For better experience please Login.