1559_TheHouseOfSantaClaus

2022-5-16 18:17| 发布者: Hocassian| 查看: 47| 评论: 0|原作者: 肇庆学院ACM合集

摘要:
C:\Users\Administrator\Downloads\2019-10-12-10-14-2-89503969085900-Problem List-采集的数据-后羿采集器.html

Pro.ID

1559

Title

The House Of Santa Claus

Title链接

http://10.20.2.8/oj/exercise/problem?problem_id=1559

AC

3

Submit

3

Ratio

100.00%

时间&空间限制

  • Time Limit: 2000/1000 MS (Java/Others)     Memory Limit: 32768/32768 K (Java/Others)
  • 描述

    In your childhood you most likely had to solve the riddle of the house of Santa Claus. Do you remember that the importance was on drawing the house in a stretch without lifting the pencil and not drawing a line twice? As a reminder it has to look like shown in Figure 1.


    Figure1: The House of Santa Claus

    Well, a couple of years later, like now, you have to "draw" the house again but on the computer. As one possibility is not enough, we require all the possibilities when starting in the lower left corner. Follow the example in Figure 2 while defining your scetch.

    Figure2: This Sequence would give the Outputline 153125432

    All the possibilities have to be listed in the output by increasing order, meaning that 1234... is listed before 1235... .

                     

    输入

    no input

    输出

    Description

    In your childhood you most likely had to solve the riddle of the house of Santa Claus. Do you remember that the importance was on drawing the house in a stretch without lifting the pencil and not drawing a line twice? As a reminder it has to look like shown in Figure 1.


    Figure1: The House of Santa Claus

    Well, a couple of years later, like now, you have to "draw" the house again but on the computer. As one possibility is not enough, we require all the possibilities when starting in the lower left corner. Follow the example in Figure 2 while defining your scetch.

    Figure2: This Sequence would give the Outputline 153125432

    All the possibilities have to be listed in the output by increasing order, meaning that 1234... is listed before 1235... .

                     

    Input

    no input

    Output

    your output could look like the sample output

    Sample Input

    no input

    Sample Output
    12435123
    13245123
    ...
    15123421
    Hint

    注意:输出样例没有一个序列是正确的,只是告诉你输出应该像这样而已。

    Source

    样例输入

    no input

    样例输出

    12435123
    13245123
    ...
    15123421

    提示

    注意:输出样例没有一个序列是正确的,只是告诉你输出应该像这样而已。

    作者


    路过

    雷人

    握手

    鲜花

    鸡蛋

    最新评论

    返回顶部