GoLang Solution For UVa Online Judge: 10651 - Pebble Solitaire
GO Solution For UVa 10651 - Pebble Solitaire. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.
Problem Description
Pebble solitaire is an interesting game. This is a game where you are given a board with an arrangement of small cavities, initially all but one occupied by a pebble each. The aim of the game is to remove as many pebbles as possible from the board. Pebbles disappear from the board as a result of a m
...You can find the full details of the problem Pebble Solitaire at UVa Online Judge
Sample Input
5 ---oo------- -o--o-oo---- -o----ooo--- oooooooooooo oooooooooo-o
Sample Output
1 2 3 12 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.