Problem of the day
Current streak:
0 days
Longest streak:
3 days
Less
More
#include <bits/stdc++.h>
vector<int> swapNumber(int x, int y) { pair<int,int>ans; x=x^y; y=x^y; x=x^y; ans={x,y}; cout<<ans.first<<" "<<ans.second<<endl; }