C++:类和访问权限 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std ;class sum{…… 题解列表 2025年03月21日 0 点赞 0 评论 217 浏览 评分:0.0
C++[竞赛入门]简单的a+b题解 摘要:题目答案: ```cpp #include using namespace std; int main() { int a,b; while(cin>>a>>b)cout…… 题解列表 2024年11月04日 0 点赞 0 评论 309 浏览 评分:0.0
[竞赛入门]简单的a+b(C++) 摘要:解题思路:定义a,b,输入各值,输出a+b就可以了注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; …… 题解列表 2024年07月29日 0 点赞 0 评论 200 浏览 评分:0.0
1000: [竞赛入门]简单的a+b 摘要:解题思路:注意事项:其实直接提交就好,源代码就是1000的题解参考代码:#include<iostream>using namespace std;int main(){ int a,b; …… 题解列表 2023年11月03日 0 点赞 0 评论 141 浏览 评分: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
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 摘要:解题思路:注意事项:参考代码:#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
"简单的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
C++ 题解,初始程序就是答案! 摘要:#include<iostream> using namespace std; int main() { int a,b; while (cin >> a >> b) { …… 题解列表 2022年07月09日 0 点赞 0 评论 170 浏览 评分:0.0