题解 1087: A+B for Input-Output Practice (III)

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

C++简单解法

摘要:#includeusing namespace std;int main(void){ long long a,b; while(cin>>a>>b)//之所以不用whi……

无聊的星期五

摘要:while True:    x, y = list(map(int, input().split()))    if x == 0 and y == 0:        break    print……

1087A+B(3)(while循环输出)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long a,b; while(scanf("%lld%lld",&a,&b)) { if(a==0……

输入截止易错点判断

摘要:原题链接:[题目 1087: A+B for Input-Output Practice (III)](https://www.dotcpp.com/oj/problem1087.html "题目 1……

好写》好写

摘要:参考代码:#include<iostream> using namespace std; int main() {     int a,b;     while(cin >> a >> b)……