GO Solution For UVa 10055 - Hashmat the Brave Warrior. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

Hashmat is a brave warrior who with his group of young soldiers moves from one place to another to fight against his opponents. Before Fighting he just calculates one thing, the difference between his soldier number and the opponent’s soldier number. From this difference he decides whether to fight


You can find the full details of the problem Hashmat the Brave Warrior at UVa Online Judge

Sample Input

10 12
10 14
100 200
4294967295 4294967296

Sample Output


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

Solution originally posted at: Github by @codingsince1985