杭电oj1091 多个终止的加法

来源:互联网 发布:音乐合成制作软件 编辑:程序博客网 时间:2024/05/16 14:20
#include<iostream>using namespace std;int main(){    int a,b;    while(cin>>a>>b)    {        if(a==0&&b==0)        break;        cout<<a+b<<endl;        }        return 0;    }