简单的a+b【C++代码题解】 摘要:解题思路: 计算两个数的加法和,先定义变量。。。。注意事项:参考代码:```C++#include <iostream```…… 题解列表 2022年10月15日 0 点赞 1 评论 246 浏览 评分:9.9
简单的 a + b 摘要: #include using namespace std; int main() { int a, b; while (cin >…… 题解列表 2022年10月06日 0 点赞 0 评论 201 浏览 评分:9.9
简单的a+b 十分简单 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b){ cout<<a…… 题解列表 2022年09月30日 0 点赞 0 评论 368 浏览 评分:9.9
"简单的a+b"题解 摘要:解题思路:无注意事项:此题是求多组数据,可用while(cin>>a>>b)来输入每一组数据;为了格式,所以得在输出后加上\n转义字符或endl来换行参考代码:#include<iostream>us…… 题解列表 2022年09月11日 0 点赞 0 评论 159 浏览 评分:0.0
简单的a+b 题解 摘要:解题思路:输入ab,输出a+b注意事项:参考代码:#include<iostream> using namespace std; int ma…… 题解列表 2022年08月12日 0 点赞 0 评论 175 浏览 评分:0.0
简单的a+b(c++代码) 摘要:解题思路:注意事项:参考代码:解法一:#include <cstdio> int main(){ int a,b; while(scanf("%d%d",&a,&b)!=EOF)//也可以写成whil…… 题解列表 2022年07月27日 0 点赞 0 评论 546 浏览 评分:7.3
C++ 题解,初始程序就是答案! 摘要:#include<iostream> using namespace std; int main() { int a,b; while (cin >> a >> b) { …… 题解列表 2022年07月09日 0 点赞 0 评论 170 浏览 评分:0.0
笑死,根本没动,他给的格式就是题解 摘要:解题思路:没有注意事项:没有(别自己乱写,直接用他给的格式参考代码:#include <stdio.h>int main(){ int a,b; while(~scanf("%d%d", …… 题解列表 2022年07月09日 0 点赞 0 评论 491 浏览 评分:9.9
简单的a+b(C++代码) 摘要:解题思路:首先设置两个加数,再输入,然后算出答案输出注意事项:注意是多组数据提交,要用上while循环,查看是否输入参考代码:#include<iostream>using namespace std…… 题解列表 2022年06月19日 0 点赞 1 评论 453 浏览 评分:9.9
1000: [竞赛入门]简单的a+b(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; while(ci…… 题解列表 2022年05月23日 0 点赞 0 评论 132 浏览 评分:6.0