标签:pre ref tar ase void get http each exti
https://acm.ecnu.edu.cn/problem/1000
单点时限: 1.0 sec
内存限制: 256 MB
输入格式
Two integer a,b(<=10) . Process to end of file.
输出格式
For each case, output in one line.
样例
input
1 1
2 3
output
2
5
真的有这么阳间的数据?
直接a+b就行了,我还以为要大数运算。
public static void fun() {
Scanner sc = new Scanner(System.in);
while(sc.hasNextInt())
{
int a = sc.nextInt();
int b = sc.nextInt();
System.out.println(a+b);
}
}
标签:pre ref tar ase void get http each exti
原文地址:https://www.cnblogs.com/blogxjc/p/14291467.html