Description

Contest

Stack & Queue

Letter

D

About

BINARY

D. Двоична бройна система
---
Да се състави програма, чрез която се въвежда естествено число от интервала [10..1000010]. Програмата да изведе същото число в двоична бройна система. Да се използва динамичната структура стек.

Пример: 
38

Изход: 
1 0 0 1 1 0

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