CodeChef::REMISS

 

#include<iostream>
using namespace std ;

int main(){
int t ;
cin >> t ;
while (t--){
int a;
int b;
cin >> a >> b ;
if (a > b){
cout << a << " " << a+b << '\n';
} else{
cout << b << " " << a+b << '\n';
}
}

return 0 ;
}

Comments

Popular posts from this blog

CodeChef::CSUB

How Recursion Works?

Atcoder Educational Dp contest :: C vacation