Processing math: 100%
Decimal to binary - MarisaOJ: Marisa Online Judge

Decimal to binary

Time limit: 1000 ms
Memory limit: 256 MB
Given an integer n in decimal representation, convert it to binary representation. ### Input - A single line contains an integer n. ### Output - Print the binary representation of n, no leading zero is allowed. ### Constraints - 1≤n≤109. ### Example Input: 6 Output: 110