2011-06-17 12:40:16Morris

[JAVA] a002. 簡易加法

/**********************************************************************************/
/*  Problem: a002 "簡易加法"                                                  */
/*  Language: JAVA                                                                */
/*  Result: AC (122ms, 5642KB) on ZeroJudge                                       */
/*  Author: new1028 at 2011-06-17 08:48:00                                        */
/**********************************************************************************/


import java.util.Scanner;
public class ADD {
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        int a, b;
        while(cin.hasNextInt()) {
            a = cin.nextInt();
            b = cin.nextInt();
            System.out.println(a + b);
        }
    }
}