|
|||
Hashmat, the Brave WarriorHashmat 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 the number of his soldiers and the number of the opponent's soldiers. From this difference, he decides whether to fight or not. Input SpecificationThe input contains two numbers in each line. These two numbers denote the number of soldiers in Hashmat's army and his opponent's army or vice versa. The input numbers are not greater than 232. The input is terminated by end of file (EOF). Output SpecificationFor each line of input, print the difference between the number of soldiers in Hashmat's army and his opponent's army. Each output should be in a separate line. Sample Input
Output for Sample Input
|
|||
University of Debrecen; Faculty of Informatics; v. 09/30/2024 |