UVa 706 - LC-Display

706-LC-Display
http://acm.uva.es/p/v7/706.html

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

Hints
Notice that each digit has five block/part. Make sure your output doesn't have any trailing spaces or extra newlines

Input
1 0123456789 2 0123456789 3 0123456789 0 0

Output
-      -   -       -   -   -   -   -          -   -   -   -   -       -   -  -       -   -       -   -       -   -

--       --   --        --   --   --   --   --            --   --   --   --   --        --   --  --        --   --        --   --        --   --

---        ---   ---         ---   ---   ---   ---   ---              ---   ---   ---   ---   ---         ---   ---  ---         ---   ---         ---   ---         ---   ---

Solutions
C++: http://www.lukejduncan.com/2009/09/uva-706---lcd-display.php

C: http://snippets.dzone.com/posts/show/5244