BZOJ 1000: A+B Problem

问题:A + B问题

描述:http://acm.wust.edu.cn/problem.php?id=1000&soj=0

代码示例:

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a, b;
        while(scan.hasNext()){
            a = scan.nextInt();
            b = scan.nextInt();
            System.out.println(a + b);
        }
    }

}
原文地址:https://www.cnblogs.com/yeahwell/p/5162490.html