A+B for Input-Output Practice (II) (C语言代码) 摘要:解题思路:你输入的第一个变量是控制你的后面的行数,所以,要将他放在循环的外面然后后面的每一组输入就是你的计算的a+b,这个对应于每一次for循环。注意事项:for循环的次数,别的没有什么注意的。参考代…… 题解列表 2017年09月23日 1 点赞 1 评论 1626 浏览 评分:0.0
A+B for Input-Output Practice (II) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include"stdio.h" int main() { int n; scanf("%d",&n); while(n>0) { int a,b; s…… 题解列表 2017年07月28日 0 点赞 0 评论 1040 浏览 评分:0.0
A+B for Input-Output Practice (II) (C语言代码) 摘要:#include <stdio.h>int main(){ int a,b,n; scanf("%d",&n); while (n--) { scanf("%d%d",&a,&b); printf…… 题解列表 2017年07月12日 0 点赞 0 评论 1135 浏览 评分:0.0