"简单的a+b"题解 摘要:解题思路:无注意事项:此题是求多组数据,可用while(cin>>a>>b)来输入每一组数据;为了格式,所以得在输出后加上\n转义字符或endl来换行参考代码:#include<iostream>us…… 题解列表 2022年09月11日 0 点赞 0 评论 159 浏览 评分:0.0
编写题解 1000: [竞赛入门]简单的a+b 摘要:解题思路:参考提示代码注意事项:参考代码:#include<stdio.h> int main() { int a,b; while(~scanf("%d%d", &a, &b…… 题解列表 2022年11月14日 0 点赞 0 评论 113 浏览 评分: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 评论 129 浏览 评分: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 评论 107 浏览 评分: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 评论 156 浏览 评分:0.0
A+B c语言题解 摘要:解题思路:注意事项:难点在于退出循环,具体可以去搜“~”的用法,这虽然不是最优解,可以把它当成一种变式参考代码:#include<stdio.h>int main(void){ int a=0,b=0…… 题解列表 2023年03月23日 0 点赞 0 评论 121 浏览 评分:0.0
1000题: 循环计算a+b 摘要:自己写代码的难点: 局限于用for循环,循环加载输入数字后,无法做到循环输出对应的结果; 自己代码: #include int main() { int a,b; f…… 题解列表 2023年04月24日 0 点赞 0 评论 98 浏览 评分:0.0
题目 1000: [竞赛入门]简单的a+b解答 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) cou…… 题解列表 2023年05月18日 0 点赞 0 评论 138 浏览 评分:0.0
[竞赛入门]简单的a+b 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a=0,b=0; while(~scanf("%d%d", &a, &b)) //下面有…… 题解列表 2023年06月20日 0 点赞 0 评论 132 浏览 评分:0.0
加减法发aDXASD 摘要:解题思路:嬲完吴妞随便写注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(~scanf("%d%d", &a, &b))print…… 题解列表 2023年10月13日 0 点赞 0 评论 130 浏览 评分:0.0