#11971: JAVA 解答


FaiWei (ChunWeiYeah)

學校 : 樹德科技大學
編號 : 61317
來源 : [220.143.87.171]
最後登入時間 :
2017-09-19 20:14:15

import java.util.Scanner;
public class pp{
public static void main(String[]argv){

Scanner sc=new Scanner(System.in);


long a,b;

while(sc.hasNext()){

a=sc.nextLong();
b=sc.nextLong();

System.out.println(Math.abs(a-b));
}

}
}