HDU1000
View Code
import java.util.Scanner; public class HDU1000 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = 0; int b = 0; int sum = 0; while (sc.hasNext()) { a = sc.nextInt(); b = sc.nextInt(); sum = a + b; System.out.println(sum); } } }


浙公网安备 33010602011771号