Your task is to Calculate a + b.
InputThere are multiple test cases. Each test case contains only one line. Each line consists of a pair of integers a and b(1=< a,b <=1016), separated by a space. Input is followed by a single line with a = 0, b = 0, which should not be PRocessed.
OutputFor each pair of input integers a and b you should output the sum of a and b in one line, and with one line of output for each line in input.
Sample Input1 510 2010000000000000000 100000000000000000 0Sample Output63020000000000000000#include <iostream>using namespace std;int main(){ long m,n; while(cin>>m>>n,m+n) cout<<m+n<<endl; return 0;}
新闻热点
疑难解答