开个博客 记录我刷ZOJ水题的经过。
ZOJ 1001 - the a+b problem
难度系数: -1
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while (in.hasNextInt()) {
int a = in.nextInt();
int b = in.nextInt();
System.out.println(a + b);
}
}
}