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

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

筛选

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

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

无聊的星期五

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

其实很简单呀!

摘要:解题思路:注意事项:只要能够明白当输入数字为0时,直接可以输出结果就可以了参考代码:#include<stdio.h>int main(){int a,b;while(scanf("%d%d",&a,……