Squares Round 3

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Convert dots into squares. This time, connect the squares seamlessly. -leonid

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

.................................
.                               .
.                               .
.                               .
.                               .
.         .....                 .
.         .   .                 .
.  ..     .   ..                .
.   .     .    . ....           .
.   ..    .    ...  .           .
.    ......         .    .      .
.                   ...         .
.                               .
.                               .
.                               .
.                               .
.                               .
.................................

Sample output:

 _________________________________________________________________
|  _____________________________________________________________  |
| |                                                             | |
| |                                                             | |
| |                                                             | |
| |                  _________                                  | |
| |                 |  _____  |                                 | |
| |    ___          | |     | |_                                | |
| |   |_  |         | |     |_  |  _______                      | |
| |     | |_        | |       | |_|  ___  |                     | |
| |     |_  |_______| |       |_____|   | |        _            | |
| |       |___________|                 | |___    |_|           | |
| |                                     |_____|                 | |
| |                                                             | |
| |                                                             | |
| |                                                             | |
| |                                                             | |
| |_____________________________________________________________| |
|_________________________________________________________________|

Sample input:_

............ .......
.          . .     .
.          . .     .
.          . . ..  .
.          . .  .. .
.          . .     .
.   ..     . .......
.   .      .
.   .      . . . . .
.          .  . . .
.          . . . . .
.          .  . . .
.          . . . . .
.          .  . . .
.          . . . . .
.          .  . . .
.          . . . . .
.          .  . . .
..         . . . . .
..    .    .  . . .
.. .  .. ... . . . .
.....  . ...  . . .
............ . . . .

Sample output:

 _______________________   _____________
|  ___________________  | |  _________  |
| |                   | | | |         | |
| |                   | | | |  ___    | |
| |                   | | | | |_  |_  | |
| |                   | | | |   |___| | |
| |      ___          | | | |_________| |
| |     |  _|         | | |_____________|
| |     | |           | |  _   _   _   _
| |     |_|           | | |_|_|_|_|_|_|_|
| |                   | |  _|_|_|_|_|_|_
| |                   | | |_|_|_|_|_|_|_|
| |                   | |  _|_|_|_|_|_|_
| |                   | | |_|_|_|_|_|_|_|
| |                   | |  _|_|_|_|_|_|_
| |                   | | |_|_|_|_|_|_|_|
| |                   | |  _|_|_|_|_|_|_
| |                   | | |_|_|_|_|_|_|_|
| |_                  | |  _|_|_|_|_|_|_
|   |        _        | | |_|_|_|_|_|_|_|
|   |  _    | |_   ___| |  _|_|_|_|_|_|_
|   |_| |_  |_  | |     | |_|_|_|_|_|_|_|
|         |___| |_|     |  _|_|_|_|_|_|_
|_______________________| |_| |_| |_| |_|

Sample input:_

...........................................
                     .
               ...       ...
               . .   .   . .
               . .       ...
               . .   .   . .
               ...       ...
.                    .
.
.                    .

                     .

                     .

                     .

                     .

                     .
                                          .
                     .                    .
                                          .
                     .

                     .
                          .
                     .

                     .
...........................................

Sample output:

 _____________________________________________________________________________________
|_________________________________________   _________________________________________|
                               _____      |_|      _____
                              |  _  |      _      |  _  |
                              | | | |     |_|     | |_| |
                              | | | |      _      |  _  |
                              | |_| |     |_|     | |_| |
 _                            |_____|      _      |_____|
| |                                       |_|
| |                                        _
|_|                                       |_|
                                           _
                                          |_|
                                           _
                                          |_|
                                           _
                                          |_|
                                           _
                                          |_|
                                           _
                                          |_|                                        _
                                           _                                        | |
                                          |_|                                       | |
                                           _                                        |_|
                                          |_|
                                           _
                                          |_|        _
                                           _        |_|
                                          |_|
                                           _
 _________________________________________| |_________________________________________
|_____________________________________________________________________________________|

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid1210.15872011/02/27 07:10:400B / 39B / 75B
2yvl1600.50472011/02/16 00:30:471B / 65B / 86B
3test3810.07672011/02/13 09:49:580B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1twobit1520.15692011/02/14 02:38:200B / 75B / 68B
2recursive1530.27612011/02/14 02:33:000B / 77B / 66B
3twobit(recursive)1520.30172011/03/01 00:22:530B / 76B / 66B

J _

RankUserSizeTimeDateStatistics
1I., S.770.12842011/02/22 21:21:350B / 16B / 60B

OCaml _

RankUserSizeTimeDateStatistics
1m.ukai17280.27552011/02/26 20:21:180B / 269B / 926B

Haskell _

RankUserSizeTimeDateStatistics
1koyama411670.02412011/02/27 02:46:210B / 81B / 70B

Language Ranking_

RankLangUserSizeScore
1JI., S.7710000
2Rubyleonid1216363
3Pythontwobit1525065
4Haskellkoyama411674610
5OCamlm.ukai1728445

return to the top page