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) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a, b; while(cin>>a>>b) { if (a…… 题解列表 2024年03月07日 0 点赞 0 评论 181 浏览 评分:0.0
A+B for Input-Output Practice (III) 题解 摘要:解题思路:不就是加法嘛!弄了个英文就不会了?注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a,b;int main(){ …… 题解列表 2022年05月07日 0 点赞 0 评论 210 浏览 评分:0.0
编写题解 1087: A+B for Input-Output Practice (III) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b){ …… 题解列表 2022年03月19日 0 点赞 0 评论 223 浏览 评分:0.0
A+B for Input-Output Practice (III 摘要:```cpp #include using namespace std; int main() { int a,b; while(cin>>a>>b){ if(a==0&…… 题解列表 2022年03月05日 0 点赞 0 评论 182 浏览 评分:0.0
A+B for Input-Output Practice (III) from beiqiao (C++) 摘要:#include<iostream> using namespace std; int main() { int a,b; while((cin>>a>>b)&&!(a==0&…… 题解列表 2022年01月23日 0 点赞 0 评论 141 浏览 评分:0.0
1087: A+B for Input-Output Practice (III) 摘要:a 和 b 同时为 0 时跳出循环。#include<bits/stdc++.h> using namespace std; int main(){ int a,b; w…… 题解列表 2021年12月15日 0 点赞 0 评论 127 浏览 评分:0.0
A+B for Input-Output Practice (III) 摘要:#include<iostream>using namespace std;int main(){ int i; int num; int a,b; while(1){ cin>>a>>b; if…… 题解列表 2021年03月31日 0 点赞 0 评论 171 浏览 评分:0.0
A+B for Input-Output Practice (III)-题解(C++代码) 摘要:解题思路: (都过一年了...最近又想回来看看) 还是很简单的一道题,题意为:若输入的两个操作数都为0则不处理并终止。理所当然地加一个if判断即可。注意事项: …… 题解列表 2020年09月10日 0 点赞 0 评论 393 浏览 评分:0.0
A+B for Input-Output Practice (III)-题解(C++代码) 摘要:解题思路:while(cin>>a>>b&&a||b) 当输入的a、b不同时为零时执行循环。注意事项:参考代码:#include <iostream> using namespace std; …… 题解列表 2020年08月16日 0 点赞 0 评论 367 浏览 评分:0.0