1069745273


私信TA

用户名:1069745273

访问量:5612

签 名:

Just do IT.

等  级
排  名 264
经  验 5759
参赛次数 3
文章发表 166
年  龄 0
在职情况 待业
学  校
专  业 计算机科学与技术

  自我简介:

import java.io.*;

/**
 * a + b 直接打印,没啥好说的。
 */


public class Main {
    public static BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    public static BufferedWriter out = new BufferedWriter(new OutputStreamWriter(System.out));
    public static StreamTokenizer cin = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));
    public static PrintWriter cout = new PrintWriter(new OutputStreamWriter(System.out));

    public static void main(String[] args) throws Exception {
        int a, b;
        while (cin.nextToken() != StreamTokenizer.TT_EOF) {// 注意这里检测输入结束的标志
            a = (int) cin.nval;
            cin.nextToken();
            b = (int) cin.nval;
            cout.println(a + b);
        }
        cout.flush();
    }
}


 

0.0分

0 人评分

  评论区