View Code of Problem 109

 #include<bits/stdc++.h>
 using namespace std;
 main()
 {
 	int n,a,b,i;
 	while(cin>>n)
 	{
 		while(n--)
 		{
 			cin>>a>>b;
 			cout<<a+b<<endl;
		 }
	 }
  } 

Double click to view unformatted code.


Back to problem 109