A+B for Input-Output Practice (III 摘要:```cpp #include using namespace std; int main() { int a,b; while(cin>>a>>b){ if(a==0&…… 题解列表 2022年03月05日 0 点赞 0 评论 168 浏览 评分:0.0
A+B for Input-Output Practice (III) 摘要:#include<iostream>using namespace std;int main(){ int i; int num; int a,b; while(1){ cin>>a>>b; if…… 题解列表 2021年03月31日 0 点赞 0 评论 146 浏览 评分:0.0
编写题解 1087: A+B for Input-Output Practice (III) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; while(cin>>a>>b){ …… 题解列表 2022年03月19日 0 点赞 0 评论 205 浏览 评分: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 评论 189 浏览 评分:0.0
利用if对输出结果进行判断 摘要:解题思路:利用if判断输出结果即可注意事项:参考代码:#include<stdio.h>int main(){ int a,b,n; while(~scanf("%d%d", &a, &b…… 题解列表 2022年05月19日 0 点赞 0 评论 143 浏览 评分:0.0
这几题都很简单改一点点代码都可以 摘要:解题思路:注意事项:参考代码:#n=input()li=list(map(int,input().split()))print(sum(li))while len(li)!=0: li=list…… 题解列表 2022年05月26日 0 点赞 0 评论 182 浏览 评分: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 评论 157 浏览 评分: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 评论 290 浏览 评分: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 评论 98 浏览 评分:0.0
编写题解 1087: A+B for Input-Output Practice (III) 摘要:解题思路:注意事项:参考代码:/*输入格式输入包含多个测试用例。每个测试用例包含一对整数 a 和 b,每行一对整数。包含 0 0 的测试用例将终止输入,并且不会处理此测试用例。 输出格式对于每对输入…… 题解列表 2022年12月26日 0 点赞 0 评论 70 浏览 评分:0.0