1087: A+B for Input-Output Practice (III) 摘要:a 和 b 同时为 0 时跳出循环。#include<bits/stdc++.h> using namespace std; int main(){ int a,b; w…… 题解列表 2021年12月15日 0 点赞 0 评论 382 浏览 评分:0.0
A+B for Input-Output Practice (III)-题解(C语言代码) 摘要:解题思路:注意与和非的使用注意事项:参考代码:#include<stdio.h> #include<malloc.h> int main() { int a, b; while (1) …… 题解列表 2020年12月25日 0 点赞 0 评论 557 浏览 评分:0.0
A+B for Input-Output Practice (III) 题解 摘要:解题思路:不就是加法嘛!弄了个英文就不会了?注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int a,b;int main(){ …… 题解列表 2022年05月07日 0 点赞 0 评论 503 浏览 评分:0.0
利用if对输出结果进行判断 摘要:解题思路:利用if判断输出结果即可注意事项:参考代码:#include<stdio.h>int main(){ int a,b,n; while(~scanf("%d%d", &a, &b…… 题解列表 2022年05月19日 0 点赞 0 评论 453 浏览 评分:0.0
这几题都很简单改一点点代码都可以 摘要:解题思路:注意事项:参考代码:#n=input()li=list(map(int,input().split()))print(sum(li))while len(li)!=0: li=list…… 题解列表 2022年05月26日 0 点赞 0 评论 501 浏览 评分:0.0
编写题解 1087: A+B for Input-Output Practice (III) 摘要:解题思路:注意事项:参考代码:while True: sum = 0 a = list(map(int,input().split())) if a[0]==0 and a[1]==…… 题解列表 2022年06月01日 0 点赞 0 评论 469 浏览 评分:0.0
1087——————A+B for Input-Output Practice (III) 摘要:题目:1087: A+B for Input-Output Practice (III) **题目描述** Your task is to Calculate a + b. ——翻译(来源百度翻…… 题解列表 2022年08月20日 0 点赞 0 评论 630 浏览 评分:0.0
A+B for Input-Output Practice (III) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d %d",&a,&b)!=EOF) { …… 题解列表 2022年11月02日 0 点赞 0 评论 400 浏览 评分:0.0
编写题解 1087: A+B for Input-Output Practice (III) 摘要:解题思路:注意事项:参考代码:/*输入格式输入包含多个测试用例。每个测试用例包含一对整数 a 和 b,每行一对整数。包含 0 0 的测试用例将终止输入,并且不会处理此测试用例。 输出格式对于每对输入…… 题解列表 2022年12月26日 0 点赞 0 评论 434 浏览 评分:0.0
A+B for Input-Output Practice (III)C语言 摘要:#include<stdio.h> int main() { int a, b; while (scanf("%d%d", &a, &b)!=EOF) { if (a == 0…… 题解列表 2023年06月05日 0 点赞 0 评论 425 浏览 评分:0.0