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

PROGRAMMING:Digital LCD screen

Luz5年前 (2021-05-10)题库412
The liquid crystal display of LED screen has a very important application in industry,
![ timg.jpg](~/08e0327d-9783-4191-bd88-73b3c354dd80.jpg)
Now w teacher give you a task, give you a string containing only numbers, output its LCD effect. In this problem, we use '-' and '|' to represent strokes in LCD numbers. We can see that the LCD display format corresponding to each number * * strictly occupies 5 rows and 3 columns of space (spaces also need to be output) * *, for example, number 8:
![ szyj2.png](~/c8f30ec1-f386-4eaf-9f9b-11dbd477f05a.png)
Therefore, the numbers 0-9 can be expressed as:
![ Picture 1. PNG] (~ / 2df8ee67-fcac-4dfc-98b8-f05d1ef15d45. PNG)
###Input format:
One line, string containing only numbers (string length no more than 200)
###Output format:
The number corresponds to the LCD display effect
###Input example:
```in
0123456789
```
###Output example:
```out
- - - - - - - -
| | | | || || | || || |
- - - - - - -
| | || | | || | || | |
- - - - - - -
```







answer:If there is no answer, please comment