[竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a,b;int main(){ while(cin>>a>…… 题解列表 2022年05月09日 0 点赞 0 评论 158 浏览 评分:0.0
C++ 题解,初始程序就是答案! 摘要:#include<iostream> using namespace std; int main() { int a,b; while (cin >> a >> b) { …… 题解列表 2022年07月09日 0 点赞 0 评论 205 浏览 评分:0.0
简单的a+b 题解 摘要:解题思路:输入ab,输出a+b注意事项:参考代码:#include<iostream> using namespace std; int ma…… 题解列表 2022年08月12日 0 点赞 0 评论 197 浏览 评分:0.0
"简单的a+b"题解 摘要:解题思路:无注意事项:此题是求多组数据,可用while(cin>>a>>b)来输入每一组数据;为了格式,所以得在输出后加上\n转义字符或endl来换行参考代码:#include<iostream>us…… 题解列表 2022年09月11日 0 点赞 0 评论 176 浏览 评分:0.0
编写题解 1000: [竞赛入门]简单的a+b 摘要:解题思路:参考提示代码注意事项:参考代码:#include<stdio.h> int main() { int a,b; while(~scanf("%d%d", &a, &b…… 题解列表 2022年11月14日 0 点赞 0 评论 140 浏览 评分:0.0
编写题解 1000: [竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int A,B,c; c=pow(2,10); while(~scanf("%d…… 题解列表 2022年11月21日 0 点赞 0 评论 149 浏览 评分:0.0
简单的a+b 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main() { int a,b; cin>>a>>b; int c=a+b; cou…… 题解列表 2023年02月04日 0 点赞 0 评论 128 浏览 评分:0.0
1000:简单的a+b 摘要:参考代码:#include<iostream> using namespace std; int main() { int a,b; while(cin>>a>>b)cout…… 题解列表 2023年02月04日 0 点赞 0 评论 176 浏览 评分:0.0
A+B c语言题解 摘要:解题思路:注意事项:难点在于退出循环,具体可以去搜“~”的用法,这虽然不是最优解,可以把它当成一种变式参考代码:#include<stdio.h>int main(void){ int a=0,b=0…… 题解列表 2023年03月23日 0 点赞 0 评论 142 浏览 评分:0.0
1000题: 循环计算a+b 摘要:自己写代码的难点: 局限于用for循环,循环加载输入数字后,无法做到循环输出对应的结果; 自己代码: #include int main() { int a,b; f…… 题解列表 2023年04月24日 0 点赞 0 评论 123 浏览 评分:0.0