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

编程题:number plate

Luz4年前 (2022-10-10)题库295
Print a number plate. The number plate is composed of a border and a number. The characters forming the border are divided into corner characters, horizontal characters and vertical characters.


### Input Specification:

Input a string (e.g. +- | 2008161876). The first three characters of the string represent the corner character, horizontal character and vertical character that form the border. The characters from the fourth character to the last represent the number of the number plate.

### Output Specification:

Print the number enclosed by the border. For example:

![号码牌.JPG](~/cb598bdb-b716-4de0-a1aa-5f501a0da3b2.JPG)


### Sample Input #1:

Write a sample input here. For example:

in
#=$2020


### Sample Output #1:

Write the corresponding sample output here. For example:

out
#====#
$2020$
#====#

### Sample Input #2:

Write a sample input here. For example:

in
+-*20191234


### Sample Output #2:

Write the corresponding sample output here. For example:

out
+--------+
*20191234*
+--------+











答案:若无答案欢迎评论