Description

Contest

Stack & Queue

Letter

D

About

BINARY

D. Binary Number System
---
Compose a program through which a natural number of the interval [10..1000010] is entered. The program should output the same number in a binary numeral system. Use the dynamic structure STACK to store the binary.

Sample input:
38

Sample output:
1 0 0 1 1 0

Problems Submit Question