<PREV Problem:
NEXT>
Solved by 160 users: ...
UserDateAttemptTimeCMSC
bush12 jan 2013Ruby1200.0391 
bush12 jan 2013Ruby400.0295 
DAV08 jun 2009C++900.01159 
qdiesel08 nov 2008Ruby100.02166 
leviato30 nov 2011C++3600.01180 
leviato21 may 2010C3100.01182 
MasterYoda10 jun 2009C++800.01184 
MasterYoda10 jun 2009C++1100.01184 
MasterYoda10 jun 2009C++1000.01185 
MasterYoda10 jun 2009C++1300.01185 
MasterYoda10 jun 2009C++1400.01186 
leviato21 may 2010C3000.01186 
leviato21 may 2010C2600.01188 
leviato30 nov 2011C++3500.01188 
shurik28 oct 2008Ruby600.04189 
borris20 may 2009C++100.01194 
LOD12 jun 2012C++200.01194 
KRR20 may 2009C++100.02194 
dremov16 apr 2009C++400.02194 
DAV12 oct 2008C++500.01195 
shurik28 oct 2008Ruby500.04197 
Languages
C++
98
C
21
FPC
12
Kylix
9
Python
8
Java
7
Ruby
6
Perl
1
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > 

Display

Time limit = 2 second(s)

Memory limit = 64 Mb

Draw digits. Each digit should use area (2+K) x (3 + 2*K).

Input The first line contains desplay size K and size of delimiting space S. Then string with digits follows. Number of digits is less than 101.

Input#1
2 1
012345
Output#1
 --        --   --        -- 
|  |    |    |    | |  | |   
|  |    |    |    | |  | |   
           --   --   --   -- 
|  |    | |       |    |    |
|  |    | |       |    |    |
 --        --   --        -- 
Input#2
1 4
6789
Output#2
 -      -      -      - 
|        |    | |    | |
 -             -      - 
| |      |    | |      |
 -             -      - 

Author:
Ruby QUIZ, Personal MIPT programming contest, 21 September 2008
20 September 2008

<PREV | Problem set | Search related messages | NEXT>


© acm.mipt DevGroup
The page was generated in 190ms

SW soft NIX
ID = 35.172.195.82