GoLang Solution For UVa Online Judge: 10360 - Rat Attack
GO Solution For UVa 10360 - Rat Attack. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.
Baaaam! Another deadly gas bomb explodes in Manhattan’s underworld. Rats have taken over the sewerage and the city council is doing everything to get the rat population under control.
As you know, Manhattan is organized in a regular fashion with streets and avenues arranged like a rectangular grid....
You can find the full details of the problem Rat Attack at UVa Online Judge
2 1 2 4 4 10 6 6 20 2 2 4 4 10 6 6 20
5 5 30 4 4 30
Solution: Please check the main.go snippet for the solution.
Solution originally posted at: Github by @codingsince1985