<PREV Problem:
NEXT>
Solved by 57 users: ...
 < 
 < 
 < 
 < 
 < 
 < 
 < 
 < 
 < 
 < 

Anti-Display

Time limit = 2 second(s)

Memory limit = 64 Mb

See 146

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

Author:
Idea of inverting -- Eugene Barsky
26 September 2008

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


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

SW soft NIX
ID = 23.20.166.68