ACM-JAVA-1001-A+B

ACM-JAVA-1001-A+B_第1张图片


import java.util.Scanner;

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




你可能感兴趣的:(ACM-JAVA-1001-A+B)