/** * A+B for Input-Output Practice (I) * 和Problem1000是同一个题目 读入两个整数求和即可 */ public class Problem1089 { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a, b; while (scanner.hasNext()) { a = scanner.nextInt(); b = scanner.nextInt(); System.out.println(a + b); } } }
HDOJ 1089 A+B for Input-Output Practice (I)
最新推荐文章于 2020-10-31 17:12:18 发布