标签:
问题描述:
http://acm.wust.edu.cn/problem.php?id=1002&soj=0
代码实现:
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a, b, n; n = scan.nextInt(); while(n-- != 0){ a = scan.nextInt(); b = scan.nextInt(); System.out.println(a + b); } } }
1002: A+B for Input-Output Practice (II)
标签:
原文地址:http://www.cnblogs.com/yeahwell/p/5163004.html