1122. Time

时间限制 1000 ms   内存限制 128 MB

Digital clock use 4 digits to express time, each digit is described by 3*3 characters (including”|”,”_”and” “).now given the current time, please tell us how can it be expressed by the digital clock.

输入数据

There are several test cases.

Each case contains 4 integers in a line, separated by space.

Proceed to the end of file.

输出数据

For each test case, output the time expressed by the digital clock such as Sample Output.

样例输入

复制
1 2 5 6
2 3 4 2 · · · \n
 · · · \n

样例输出

复制
    _  _  _ 
  | _||_ |_ 
  ||_  _||_|
 _  _     _ 
 _| _||_| _|
|_  _|  ||_ 
···· ·· ·· \n
·· ·    ·  \n
··   ··     \n
· ·· ····· \n
·  ·     ·  \n
  ··  ··   \n

样例说明

The digits showed by the digital clock are as follows:
   _  _     _  _  _  _  _  _ 
 | _| _||_||_ |_   ||_||_|| |
 ||_  _|  | _||_|  ||_| _||_|

提交

请先 登录

Source

辽宁省赛2010

© 2024 FAQs Contact About