/** * A+B for Input-Output Practice (II) * 和Problem1000是同一个题目,注意题目要求的格式即可 * Created by YangYuan on 2017/12/7. */ public class Problem1090 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); for (int i = 0; i < n; i++) { int a, b; a = scanner.nextInt(); b = scanner.nextInt(); System.out.println(a + b); } } }
HDOJ 1090 A+B for Input-Output Practice (II)
最新推荐文章于 2021-03-22 20:39:57 发布