UVA 10055 - Hashmat the Brave Warrior Shipu Ahamed - 31 Aug 2020 Problem PDFSolution:package mypkg; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner in=new Scanner (System.in); while(in.hasNext()) { long a=in.nextLong(); long b=in.nextLong(); if(a>b) System.out.println(a-b); else System.out.println(b-a); } } } https://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/10055/Main.java