UVA 10055 Java
import java.util.*; public class main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()) { long n1 = sc.nextLong(); long n2 = sc.nextLong(); System.out.println(Math.abs(n1 - n2)); } } };
留言
張貼留言