题解 | #多组输入a+b II#
多组输入a+b II
https://ac.nowcoder.com/acm/problem/22166
比上一题更简单
#include<stdio.h>
int n,a,b;
int main(){
scanf("%d",&n);
while(n--) scanf("%d%d",&a,&b),printf("%d\n",a+b);
}
题解 文章被收录于专栏
https://ayx.moefox.tech/
多组输入a+b II
https://ac.nowcoder.com/acm/problem/22166
比上一题更简单
#include<stdio.h>
int n,a,b;
int main(){
scanf("%d",&n);
while(n--) scanf("%d%d",&a,&b),printf("%d\n",a+b);
}
https://ayx.moefox.tech/
相关推荐