UVa 706

From Algorithmist

Jump to: navigation, search

Contents

[edit] 706-LC-Display

http://acm.uva.es/p/v7/706.html

[edit] Summary

Simple Output related problem. 
Just do that what they want.

[edit] Hints

Notice that eatch digit has five block/part. 
Make sure your output donn't have any trailing spaces or extra newline

[edit] Input

1 0123456789
2 0123456789
3 0123456789
0 0

[edit] Output

 -       -   -       -   -   -   -   - 
| |   |   |   | | | |   |     | | | | |
         -   -   -   -   -       -   - 
| |   | |     |   |   | | |   | | |   |
 -       -   -       -   -       -   - 

 --        --   --        --   --   --   --   -- 
|  |    |    |    | |  | |    |       | |  | |  |
|  |    |    |    | |  | |    |       | |  | |  |
           --   --   --   --   --        --   -- 
|  |    | |       |    |    | |  |    | |  |    |
|  |    | |       |    |    | |  |    | |  |    |
 --        --   --        --   --        --   -- 

 ---         ---   ---         ---   ---   ---   ---   --- 
|   |     |     |     | |   | |     |         | |   | |   |
|   |     |     |     | |   | |     |         | |   | |   |
|   |     |     |     | |   | |     |         | |   | |   |
             ---   ---   ---   ---   ---         ---   --- 
|   |     | |         |     |     | |   |     | |   |     |
|   |     | |         |     |     | |   |     | |   |     |
|   |     | |         |     |     | |   |     | |   |     |
 ---         ---   ---         ---   ---         ---   --- 
Personal tools