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

PROGRAMMING:Making of number plate

Luz5年前 (2021-05-10)题库415
Print a number plate. The number plate is composed of border and number. The characters of border are divided into corner characters, horizontal characters and vertical characters.
###Input format:
Enter a string of characters (such as + - | 2008161876). The first three characters of the string represent the corner characters, horizontal characters and vertical characters that make up the border respectively. From the fourth character to the last character, it represents the number.
###Output format:
Print out the number surrounded by a border. For example:
![ Number plate 1. JPG] (~ / 5d5307f5-ab0e-4eac-b13a-8610e1c4840e. JPG)
###Input example:
Here is a set of inputs. For example:
```in
#=$2020
```
###Output example:
The corresponding output is given here. For example:
```out
#====#
$2020$
#====#
```
###Input example:
Here is a set of inputs. For example:
```in
+-*20191234
```
###Output example:
The corresponding output is given here. For example:
```out
+--------+
*20191234*
+--------+
```







answer:If there is no answer, please comment