← Back to List

10952번: A+B - 5 ↗

Solutions

C++14
144 B | 144 chars
#include <iostream>
using namespace std;
int a,b;
int main()
{
	while(1)
	{
		cin>>a>>b;
		if(a==0&&b==0) return 0;
		else cout<<a+b<<endl;
	}
}