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.
For 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.
1 510 2010000000000000000 100000000000000000 0
63020000000000000000
#include <iostream> using namespace std; int main() { long m,n; while(cin>>m>>n,m+n) cout<<m+n<<endl; return 0; }