mirror of
https://github.com/tiennm99/codechef.git
synced 2026-06-10 10:10:40 +00:00
16 lines
211 B
C++
16 lines
211 B
C++
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
int main()
|
|
{
|
|
int t, a, b;
|
|
cin >> t;
|
|
while (t--)
|
|
{
|
|
cin >> a >> b;
|
|
cout << (a > b ? a : b) << " " << a + b << endl;
|
|
}
|
|
return 0;
|
|
}
|