1267: A+B Problem 摘要:解题思路:注意事项:都是提交成功过的,可以直接使用参考代码:#include<iostream>using namespace std;int main() { int x, y; cin…… 题解列表 2026年05月20日 0 点赞 0 评论 1 浏览 评分:0.0
A+B的处理方式 摘要:解题思路:先考虑自然数的输入 —— input(),再考虑把input()所输入的数据最前端和最后变的多余空格进行删除处理 —— strip(),处理之后接着再按每个数据之间的空格进行分割、同时转换成…… 题解列表 2025年03月24日 3 点赞 0 评论 1696 浏览 评分:2.0
C++ : 类和两种访问权限的练习 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std ;class sum{ priva…… 题解列表 2025年03月21日 1 点赞 0 评论 1578 浏览 评分:0.0
简单,易懂 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int x,y,sum; scanf ("%d %d",&x,&y); sum=x+y; …… 题解列表 2024年12月03日 7 点赞 0 评论 1352 浏览 评分:0.0
1267: A+B Problem题解 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<<a+b…… 题解列表 2024年12月01日 3 点赞 0 评论 996 浏览 评分:9.9
编写题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b)cout…… 题解列表 2024年07月23日 2 点赞 0 评论 948 浏览 评分:9.9
好好考哈回家后即可交话费 摘要:解题思路:注意事项:参考代码:while True: try: a,b=map(int,input().strip().split()) print(a+b) except: break…… 题解列表 2024年07月09日 0 点赞 0 评论 1141 浏览 评分:9.9
编写题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int main(){ int a,b; cin>>a>>b; cout<<a+b; re…… 题解列表 2024年06月09日 0 点赞 0 评论 807 浏览 评分:6.0
题解 1267: A+B Problem 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int a,b; cin>>a>>b; cout<…… 题解列表 2024年03月02日 0 点赞 0 评论 615 浏览 评分:0.0
超级简便的python 摘要:解题思路:利用map()和sum()注意事项:参考代码:s=list(map(int,input().split()))print(sum(s))…… 题解列表 2024年02月29日 1 点赞 0 评论 1267 浏览 评分:9.9