[竞赛入门]简单的a+b 摘要:解题思路:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b) { cout…… 题解列表 2021年07月27日 0 点赞 0 评论 163 浏览 评分:0.0
论作弊狂魔怎样解出1000 摘要:解题思路:我们可以直接点运行,啥都不用干。注意事项:无参考代码:#include<stdio.h>int main(){ int a,b; while(~scanf("%d%d", &a,…… 题解列表 2021年07月26日 0 点赞 4 评论 471 浏览 评分:8.7
优质题解 简单的A+B 摘要:参考代码:#include<stdio.h>int main(){ int a=0,b=0; while(~scanf("%d%d", &a, &b)) //下面有关于~的解析 …… 题解列表 2021年07月11日 0 点赞 1 评论 907 浏览 评分:9.9
简单的a+b 题解 摘要:解题思路:hj注意事项:a参考代码:#include<stdio.h>int main(){ int a,b; while(~scanf("%d%d", &a, &b))printf("%…… 题解列表 2021年06月20日 0 点赞 0 评论 1220 浏览 评分:7.3
简单的a+b(C语言代码) 摘要:解题思路:注意事项:~是按位取反参考代码:#include<stdio.h>int main(){ int a,b; while(~scanf("%d %d",&a,&b)) { …… 题解列表 2021年05月29日 0 点赞 0 评论 308 浏览 评分:0.0
1000: [竞赛入门]简单的a+b 摘要:解题思路:用while循环输出a+b注意事项:别选错语言参考代码:#include<iostream> using namespace std; int main() { int a,…… 题解列表 2021年05月24日 0 点赞 0 评论 158 浏览 评分:0.0
题目 1000: [竞赛入门]简单的a+b(c语言) 摘要:解题思路:这是很简单的一道题,重点是输入多组数据进行输出。 我们可以通过循环来处理这个问题,我开始考虑的是用while=1进行循环处理,但输出超限 。所以我们反过来想让while中输入的不等…… 题解列表 2021年05月23日 0 点赞 0 评论 309 浏览 评分:6.0
输出a+b - python 摘要:解题思路:首先input输入两个int型整数,然后求和打印出来注意事项:while可以一直循环参考代码:while True: a,b = map(int,input().split()) …… 题解列表 2021年03月26日 0 点赞 0 评论 820 浏览 评分:7.8
简单明了,易于初学者了解 摘要:解题思路:while语句的循环。注意事项:注意取值范围。参考代码:#include<stdio.h>main(){ int a=0,b=0; while(~scanf("%d%d", &a…… 题解列表 2021年03月17日 0 点赞 2 评论 673 浏览 评分:6.0
[竞赛入门]简单的a+b-题解(Python代码) 摘要:解题思路:注意事项:while True,让它能循环运行(自己就错在这里)参考代码:while True: a, b = map(int, input().split()) print(a…… 题解列表 2021年02月18日 0 点赞 0 评论 534 浏览 评分:5.5