-->
当前位置:首页 > 题库

PROGRAMMING:Decimal to binary

Luz5年前 (2021-05-10)题库427
###Task description
```
Program output decimal non negative integer into binary number sequence( You can't use recursive function. Of course, you haven't learned the function yet. Please use loop to solve it.)
```
###Input format:
```
There are several non negative integers, each of which represents a group of data and is not more than 2 to the 30th power 1073741824. The data are separated by spaces or carriage returns.
```
###Output format:
```
The binary sequence of each group of data is output in turn, and each output result occupies a single line.
```
###Input example:
```in
25 36 0 1
1024 1073741824
```
###Output example:
```out
eleven thousand and one
one hundred thousand and one hundred
0
one
ten billion
1000000000000000000000000000000
```






answer:If there is no answer, please comment