私信TA
用户名:CZH332287662
访问量:6376
签 名:
自我简介:
作者: 墨离 发表时间:2017-12-30 10:27:26 浏览:1392 | 评论:1
解题思路:注意事项:参考代码:
#include<stdio.h>
int main()
{
int a,b;
for(;scanf("%d %d",&a,&b)!=EOF;)
printf("%d\n",a+b);
return 0;
}
或者
while(scanf("%d %d",&a,&b)!=EOF)
0.0分
5 人评分
看不懂代码?想转换其他语言的代码? 或者想问其他问题? 试试问问AI编程助手,随时响应你的问题:
编程语言转换
万能编程问答
代码解释器
#include<stdio.h> int a,b; int main() { scanf("%d %d",&a,&b); printf("%d\n",a+b); return 0; } 这样为什么不行?
天空之城 2021-04-19 17:55:44 | 回复
多组数据
天空之城 2021-04-19 17:55:44 |
多组数据