GO Solution For UVa 10452 - Marcus. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

“First, the breath of God.

Only the penitent man will pass. Second, the Word of God,

Only in the footsteps of God will he proceed. Third, the Path of God,

Only in the leap from the lion’s head will he prove his worth.”

(taken from the movie “Indiana Jones and the Last Crusade”, 1989)

To get to

...

You can find the full details of the problem Marcus at UVa Online Judge

Sample Input

2
6 5
PST#T
BTJAS
TYCVM
YEHOF
XIBKU
[email protected]
5 4
JA#X
JVBN
XOHD
DQEM
[email protected]

Sample Output

forth forth right right forth forth forth
right forth forth left forth forth right

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

Solution originally posted at: Github by @codingsince1985