Binary representation
Submissions: 9982   Accuracy:

50.48%

  Difficulty: School   Marks: 0
*School Problem's Submission isn't counted in score!
Associated Course(s):   Sudo Placement 2019

Write a program to print Binary representation of a given number N.

Input:
The first line of input contains an integer T, denoting the number of test cases. Each test case contains an integer N.

Output:
For each test case, print the binary representation of the number N in 14 bits.

Constraints:
1 ≤ T ≤ 100
1 ≤ N ≤ 5000

Example:
Input:

2
2
5

Output:
00000000000010
00000000000101

** For More Input/Output Examples Use 'Expected Output' option **

Author: rajatjha


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.



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

to report an issue on this page.