For a given string of binary number find the two’s complement of it.
The first line contains an integer 'T' denoting the total number of test cases.The next T lines contains the string S.
In each separate line the two’s complement string should be output.
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.