A+B for Input-Output Practice (III) (C++代码) 摘要:参考代码:#include <iostream> using namespace std; int main() { int a, b; while (cin >> a >…… 题解列表 2018年02月01日 0 点赞 0 评论 947 浏览 评分:0.0
A+B for Input-Output Practice (III) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<cstdio>int main(){int a,b;while(scanf("%d%d",&a,&b),a+b){printf("%d\n",a+b);…… 题解列表 2018年01月03日 1 点赞 0 评论 719 浏览 评分:0.0
A+B for Input-Output Practice (III) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,n; while(scanf("%d %d",&a,&b)!=EOF&&a!=0|…… 题解列表 2017年12月13日 0 点赞 0 评论 699 浏览 评分:0.0
A+B for Input-Output Practice (III) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,s,a; while(scanf("%d",&x)&&x) { s=0; while(x--) …… 题解列表 2017年12月09日 0 点赞 0 评论 711 浏览 评分:0.0
A+B for Input-Output Practice (III) (C语言代码) 摘要:解题思路:注意事项:参考代码:V#include<stdio.h>int main(){ int a,b,s; while(scanf("%d %d",&a,&b)&&a!=0&&b!=0) { s…… 题解列表 2017年12月09日 0 点赞 0 评论 759 浏览 评分:0.0
A+B for Input-Output Practice (III) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; int n=1 ; while(n) { scanf("%d %d",&a,&b);//输…… 题解列表 2018年11月14日 1 点赞 0 评论 426 浏览 评分:0.0
A+B for Input-Output Practice (III) (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n=0,a,b; while (cin>>a>>b) { …… 题解列表 2017年11月23日 0 点赞 0 评论 756 浏览 评分:0.0
A+B for Input-Output Practice (III) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main{ int a,b; while(~scanf("%d%d", &a, &b)) { if…… 题解列表 2017年10月30日 0 点赞 0 评论 760 浏览 评分:0.0
A+B for Input-Output Practice (III) (C语言代码) 摘要:参考代码:#include<stdio.h>int main(){ int a,b; while(~scanf("%d%d",&a,&b)){ if((a+b)==0)break; …… 题解列表 2017年10月18日 0 点赞 0 评论 903 浏览 评分:0.0
A+B for Input-Output Practice (III) (C语言代码) 摘要:解题思路:就是在哪个循环里面,加了判断语句,还是比较基础的一道题注意事项:参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int a,b; w…… 题解列表 2017年09月23日 0 点赞 0 评论 829 浏览 评分:0.0