import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner cin=new Scanner(System.in); while(cin.hasNext()){ int a=cin.nextInt(); int b=cin.nextInt(); System.out.println(a+b); } }}
本文共 329 字,大约阅读时间需要 1 分钟。
import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner cin=new Scanner(System.in); while(cin.hasNext()){ int a=cin.nextInt(); int b=cin.nextInt(); System.out.println(a+b); } }}
转载于:https://www.cnblogs.com/wuyida/p/6300407.html