fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int t;
  7. cin>>t;
  8. while(t--)
  9. {
  10. int a,b,sum;
  11. cin>>a>>b;
  12. sum=a+b;
  13. cout<<sum<<endl;
  14.  
  15. }
  16. return 0;
  17. }
Success #stdin #stdout 0.01s 5460KB
stdin
1 2
stdout
5212