留住了塔没留住她:[竞赛入门]简单的a+b 摘要:解题思路: 我们可以定义两个变量a和b 由于题目输入数据数量不限所以我们要用while(cin>>a>>b) cout就是输出,(a+b)就是求a+b的和 …… 题解列表 2023年04月27日 0 点赞 0 评论 268 浏览 评分:9.9
简单的a+b(C++代码) 摘要:解题思路:利用while循环判断输入的数据注意事项:主要换行操作参考代码:#include<iostream>using namespace std;int main(){ int a,b; …… 题解列表 2022年12月09日 0 点赞 0 评论 345 浏览 评分:9.9
简单的a+b【C++代码题解】 摘要:解题思路: 计算两个数的加法和,先定义变量。。。。注意事项:参考代码:```C++#include <iostream```…… 题解列表 2022年10月15日 0 点赞 1 评论 274 浏览 评分:9.9
简单的 a + b 摘要: #include using namespace std; int main() { int a, b; while (cin >…… 题解列表 2022年10月06日 0 点赞 0 评论 239 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 摘要:解题思路:这道题就是求几个加法等式的a+b,可以结合while循环输出就行注意事项:注意要用while循环来算参考代码:#include<iostream>//头文件using namespace s…… 题解列表 2022年04月26日 0 点赞 1 评论 1226 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 摘要:```cpp #include using namespace std; int main() { int a,b; while(cin>>a>>b) { cou…… 题解列表 2023年01月08日 0 点赞 0 评论 195 浏览 评分:9.9
直接提交,不用任何操作 摘要:当你点开这个题目,你就可以提交了。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。…… 题解列表 2023年01月09日 1 点赞 0 评论 302 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 标题 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)cout…… 题解列表 2023年02月07日 0 点赞 0 评论 198 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 摘要:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)cout<<(a+b)<<e…… 题解列表 2023年02月09日 0 点赞 0 评论 275 浏览 评分:9.9
1000: [竞赛入门]简单的a+b c++代码题解 摘要:解题思路:用iostream资源库和cstdio资源库都可解题注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,…… 题解列表 2022年05月02日 0 点赞 0 评论 1338 浏览 评分:9.9