[竞赛入门]简单的a+b Python解决 摘要:解题思路: 简单的加法,使用while循环即可参考代码: while True: n = list(map(int,input().split())) …… 题解列表 2021年08月16日 0 点赞 6 评论 2017 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 摘要:解题思路:利用while,且在里面输入并!=EOF,然后再用if对A,B值范围限定为1024.注意事项:参考代码:#include<stdio.h>int main(){ int a,b; …… 题解列表 2022年04月07日 0 点赞 0 评论 820 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 摘要:解题思路:这道题就是求几个加法等式的a+b,可以结合while循环输出就行注意事项:注意要用while循环来算参考代码:#include<iostream>//头文件using namespace s…… 题解列表 2022年04月26日 0 点赞 1 评论 1177 浏览 评分:9.9
1000: [竞赛入门]简单的a+b c++代码题解 摘要:解题思路:用iostream资源库和cstdio资源库都可解题注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,…… 题解列表 2022年05月02日 0 点赞 0 评论 1257 浏览 评分:9.9
1000:求开朗的a+b 摘要:解题思路:首先我们要定义两个数,然后把它们的和相加。注意事项:此题不止一种写法。参考代码:(1)#include<bits/stdc++.h>using namespace std;int main(…… 题解列表 2022年05月07日 0 点赞 0 评论 687 浏览 评分:9.9
简单的a+b题解 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) …… 题解列表 2022年05月15日 0 点赞 0 评论 913 浏览 评分:9.9
简单的a+b (Java代码) 摘要:import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; impo…… 题解列表 2022年05月28日 1 点赞 0 评论 783 浏览 评分:9.9
简单的a+b(C++代码) 摘要:解题思路:首先设置两个加数,再输入,然后算出答案输出注意事项:注意是多组数据提交,要用上while循环,查看是否输入参考代码:#include<iostream>using namespace std…… 题解列表 2022年06月19日 0 点赞 1 评论 453 浏览 评分:9.9
while 连续输入值(简单的a+b) 摘要:解题思路:使用while 语句输入的小技巧注意事项:注意连续输入参考代码:#include<stdio.h>int main(){ int a,b,t; while(scanf("%d %…… 题解列表 2022年07月07日 0 点赞 0 评论 375 浏览 评分:9.9
1000: [竞赛入门]简单的a+b 摘要: #include int main() { int a,b; //定义两个变量a,b while(~scanf("%d%d",&a,&b)) //非零则继续循环~…… 题解列表 2022年07月08日 0 点赞 0 评论 243 浏览 评分:9.9