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);
        }
    }

}

 

posted @ 2016-01-27 10:47  沙漏哟  阅读(135)  评论(0编辑  收藏  举报