report VI VI EN
Register | Login
  • HOME
  • PROBLEMSET
  • ROADMAP
  • COMPETITION
  • TOPIC
  • RANKING
  • GUIDE
  • MASHUP
  • ABOUT
  • CONTACT
  • Problem
  • Submit
  • Results
Decimal to binary - FlandreOJ: Flandre 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 \le n \le 10^9$. ### Example Input: ``` 6 ``` Output: ``` 110 ```
Loop
Loop
Even numbers
Factorial
Star Triangle
Folding paper
Fraction
Divisors
Complex Exponentiation
Prime number
Digit Sum
Fibonacci
Read number till eternity
Extremal
Reverse
Mushroom exchanging
Trailing zeros
Decimal to binary
Binary to decimal
Division
Solution
Topic
Basic
Rating 800
Solution (1) Solution