Convert to Base -2
Print n in base -2 (negabinary) using digits 0 and 1 with no leading zeros.
Constraints
0 <= n <= 10^9
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.