题解 1000: [竞赛入门]简单的a+b

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

简单的a+b(C++代码)

摘要:解题思路:首先设置两个加数,再输入,然后算出答案输出注意事项:注意是多组数据提交,要用上while循环,查看是否输入参考代码:#include<iostream>using namespace std……

简单的a+b题解

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){    int a,b;    while(cin>>a>>b)    ……

简单的a+b 十分简单

摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b){ cout<<a……

1000:求开朗的a+b

摘要:解题思路:首先我们要定义两个数,然后把它们的和相加。注意事项:此题不止一种写法。参考代码:(1)#include<bits/stdc++.h>using namespace std;int main(……

简单的 a + b

摘要: #include using namespace std; int main() { int a, b; while (cin >……

简单的a+b【C++代码题解】

摘要:解题思路: 计算两个数的加法和,先定义变量。。。。注意事项:参考代码:```C++#include <iostream```……

简单的a+b(C++代码)

摘要:解题思路:利用while循环判断输入的数据注意事项:主要换行操作参考代码:#include<iostream>using namespace std;int main(){    int a,b;  ……

直接提交,不用任何操作

摘要:当你点开这个题目,你就可以提交了。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。……