BETA
Successful submissions of School Problems are not counted in user ratings.

Submissions : 1722 Accuracy :

31.94

Decimal to binary
       

Given a decimal number. Write a program to convert it into equivalent binary number.

Input:
First line of input contains a single integer T which denotes the number of test cases. First line of each test case contains a single integer N which represents a decimal value.

Output:
For each test case, print the binary equivalent of the given decimal value N.

Constraints:
1<=T<=100
1<=N<=100

Example:
Input:

3
7
10
33
Output:
111
1010
100001

**For More Examples Use Expected Output**


Contributor: Harsh Agarwal

Set Default Code

					   
Result:
It is recommended to test your code before clicking 'Submit' button!



                   



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.