Please enter your email address or userHandle.
Swap given two numbers and print them. (Try to do it without a temporary variable.)
First line contains an integer, the number of test cases 'T'. Each test case should contain two positive numbers a and b.
Print the 2 numbers after swapping.
1 <= T <= 100
1 <= a <= 106
1 <= b <= 106
We strongly recommend solving this problem on your own before viewing its editorial. Do you still want to view the editorial?
Login to access your submissions.
Please choose 'ReadOnlyMode' if you needn't to 'Edit' the problem e.g. viewing OJ's solution, TestCase Files (TCFs), TimeLimit etc.