1 条题解
-
0
java简单实现
import java.util.*; public class Main { private static final Scanner scanner = new Scanner(System.in); public static void main(String[] args) { for (int a = scanner.nextInt(), b = scanner.nextInt(); a != 0 || b != 0; a = scanner.nextInt(), b = scanner.nextInt()) System.out.println(a + b); } }
- 1
信息
- ID
- 54
- 时间
- 2000ms
- 内存
- 128MiB
- 难度
- 2
- 标签
- 递交数
- 1463
- 已通过
- 650
- 上传者