GO Solution For UVa 10354 - Avoiding Your Boss. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

Imagine that like me you are also an idle but reasonably good programmer. On one fine morning you wake up from sleep and discover that your bed is such a lovely place and you must not leave it for the miserable place called office. So you just pick up your mobile phone, call your boss with a gloomy

...

You can find the full details of the problem Avoiding Your Boss at UVa Online Judge

Sample Input

3 2 2 3 1 3
1 2 4
2 3 4
3 2 2 3 3 3
1 2 4
2 3 4
4 3 2 3 1 4
1 2 4
2 3 4
1 4 10

Sample Output

MISSION IMPOSSIBLE.
MISSION IMPOSSIBLE.
10

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

Solution originally posted at: Github by @codingsince1985