Squares Fixed

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. -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
1leonid900.06082011/01/01 22:44:470B / 37B / 51B
2yvl910.05352010/12/11 15:29:260B / 44B / 42B
3shinh1480.05962010/12/24 08:48:380B / 58B / 78B
4test2860.04392010/12/07 15:25:120B / 74B / 108B

Perl _

RankUserSizeTimeDateStatistics
1teebee790.04182011/01/03 09:17:051B / 19B / 54B
2tybalt89810.04352010/12/21 03:55:501B / ?B / ?B
3tails940.04822010/12/08 19:54:400B / 32B / 61B
4teebee760.02572011/02/13 07:20:211B / 20B / 52B

Python _

RankUserSizeTimeDateStatistics
1recursive1300.08962010/12/11 01:30:470B / 65B / 60B
2twobit1360.11072010/12/26 20:47:200B / ?B / ?B
3hallvabo1491.10642010/12/10 03:22:030B / 72B / 69B

PHP _

RankUserSizeTimeDateStatistics
1Endres2410.11302011/01/03 01:10:45135B / ?B / ?B
2shinh (cheat)2400.08702011/01/05 03:37:46118B / 62B / 55B
3Endres (uncompressed -> look at it XD)3290.11022011/01/05 03:50:371B / ?B / ?B

JavaScript _

RankUserSizeTimeDateStatistics
1xulapp1280.08892010/12/11 15:33:130B / 49B / 76B
2nn1710.06392010/12/10 23:49:550B / 74B / 93B
3nn1230.05432011/02/21 00:31:300B / 47B / 72B

J _

RankUserSizeTimeDateStatistics
1I., S.690.10562010/12/08 12:12:200B / 14B / 54B
2I., S.650.10802011/02/23 19:39:090B / 13B / 51B

K _

RankUserSizeTimeDateStatistics
1twobit620.04342012/09/21 01:27:290B / 14B / 45B

C _

RankUserSizeTimeDateStatistics
1not1380.00172010/12/28 01:08:350B / 70B / 68B
2hos1460.00172010/12/27 22:50:050B / 76B / 69B
3twobit1700.02012010/12/27 22:02:000B / 76B / 92B
4nn1870.04062010/12/11 01:02:100B / 91B / 96B
5nn(not)1190.00162011/01/05 10:05:380B / 56B / 62B
6not(nn)1270.00172011/01/05 10:22:320B / 59B / 67B

OCaml _

RankUserSizeTimeDateStatistics
1m.ukai2840.15042010/12/28 12:24:100B / 105B / 159B

Haskell _

RankUserSizeTimeDateStatistics
1koyama411430.04172011/01/04 00:46:260B / 70B / 62B
2rst761430.00352011/01/04 12:55:120B / 53B / 80B
3notogawa1480.03902011/01/01 08:31:530B / 60B / 80B
4henkma1520.00312011/01/04 09:22:370B / 73B / 67B

Pascal _

RankUserSizeTimeDateStatistics
1uru1960.00182010/12/27 23:56:260B / 119B / 67B
2*yuko*2010.03372011/01/02 00:16:140B / 121B / 69B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*1580.05192010/12/13 16:35:360B / 79B / 65B
2*yuko*1570.04032011/11/26 10:31:050B / 73B / 70B

GolfScript _

RankUserSizeTimeDateStatistics
1nooodl12170.19082010/12/30 07:27:1425B / ?B / ?B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*580.46442010/12/10 23:46:1927B / 10B / 17B

Vim _

RankUserSizeTimeDateStatistics
1pla440.26722010/12/27 23:35:502B / 23B / 16B

Groovy _

RankUserSizeTimeDateStatistics
1nn1586.78292010/12/11 00:11:330B / 77B / 75B
2nn1266.63592011/02/12 21:37:350B / 58B / 62B

Language Ranking_

RankLangUserSizeScore
1Vimpla4410000
2z80*yuko*587586
3Ktwobit627096
4JI., S.656769
5Perlteebee765789
6Rubyleonid904888
7Cnn(not)1193697
8JavaScriptnn1233577
9Groovynn1263492
10Pythonrecursive1303384
11Haskellkoyama411433076
12Fortran*yuko*1572802
13Pascaluru1962244
14PHPshinh (cheat)2401833
15OCamlm.ukai2841549
16GolfScriptnooodl1217361

return top