GO Solution For UVa 10800 - Not That Kind of Graph. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

“You know, it’s all very sweet, stealing from the

rich, selling to the poor...” Jose Molina, "Firefly."

Your task is to graph the price of a stock over time. In one unit of time, the stock can either Rise, Fall or stay Constant. The stock’s price will be given to you as a string of R’s, F’s and C’


You can find the full details of the problem Not That Kind of Graph at UVa Online Judge

Sample Input


Sample Output

Case #1:
|             _
|  _/\_/\    /
| /      \__/

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

Solution originally posted at: Github by @codingsince1985