简单的a+b(c++代码) 摘要:``` #include using namespace std; int main() { int a,b; while(cin >>a>>b) cout …… 题解列表 2021年12月09日 0 点赞 0 评论 364 浏览 评分:3.0
1000: [竞赛入门]简单的a+b题解 摘要:解题思路:使用cin,cout解题即可注意事项:注意头文件#include<iostream>参考代码:#include<iostream>using namespace std;int main()…… 题解列表 2021年11月11日 0 点赞 0 评论 356 浏览 评分:6.0
[竞赛入门]简单的a+b 摘要:解题思路:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) { cout…… 题解列表 2021年07月27日 0 点赞 0 评论 163 浏览 评分:0.0
1000: [竞赛入门]简单的a+b 摘要:解题思路:用while循环输出a+b注意事项:别选错语言参考代码:#include<iostream> using namespace std; int main() { int a,…… 题解列表 2021年05月24日 0 点赞 0 评论 158 浏览 评分:0.0
简单的a+b:题解C++ 摘要:解题思路:这题很简单;初学者也会,只要看一下有没有打错或有没有定义变量就可以AC了;注意事项:不要打错,不要不定义变量参考代码:#include<iostream>using namespace st…… 题解列表 2020年11月25日 0 点赞 0 评论 839 浏览 评分:9.3
[竞赛入门]简单的a+b-题解(C++代码) 摘要:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)cout<<(a+b)<<e…… 题解列表 2020年11月19日 0 点赞 0 评论 364 浏览 评分:6.0
[竞赛入门]简单的a+b-题解(C++代码) 摘要:不多说了。。。 ```cpp #include using namespace std; int main() { int a,b; cin>>a>>b; cou…… 题解列表 2020年09月13日 0 点赞 0 评论 363 浏览 评分:4.7
[竞赛入门]简单的a+b-题解(C++代码) 摘要:解题思路:此题比较简单,从题目已知,是多个输入数据,需要用到while,用while(cin>>a>>b)即可实现多个数据输出,最后在while里计算a+b,再输出。注意事项:因为范围在2^10以内,…… 题解列表 2020年08月14日 0 点赞 0 评论 596 浏览 评分:9.0
[竞赛入门]简单的a+b-题解(C++代码) 摘要:代码如下:#include using namespace std; int main() { int a,b; while(cin>>a>>b)cout…… 题解列表 2020年06月12日 0 点赞 0 评论 448 浏览 评分:8.3
[竞赛入门]简单的a+b-题解(C++代码) 摘要:傻瓜无脑操作 ``` #include using namespace std; int main(void) { int a,b,c; cin>>a>>b>>c; if(a>b)…… 题解列表 2020年04月06日 0 点赞 0 评论 568 浏览 评分:8.0