minesweeper

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

Count the number of * that each . sees.

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

............*.....*.*...................
*...*......................*..*.....**..
.......................*..*.....***....*
..*............*....*.....*.............
....*...*.....**..*..........**......*..
..**.**...*..*...........*..**...*.*.*..
........*...................*......*.*..
**.......**.........*.......*...........
*..*.......*.........*.......*.....**...
......*.................................
.........*...........*........*.........
....*.*...*.......*.....*...*....*..*...
.......*........*.......................
.........*...*.....*..............*....*
...*...................................*
....*...........*.....*.................
..*...........*..............*..........
.........................*..............
.......*.......*.............*...*......
............*..*.**........*..*.*.....*.

Sample output:

11.111.....1*1...1*2*1....111111...1221.
*1.1*1.....111...1121111112*11*22322**21
121211........111..1111*12*31112***2222*
.1*211.111...13*2112*11112*2122223211121
.234*322*21112**21*211..12223**111213*2.
.1**3**323*11*321111....1*12**311*3*5*3.
23322222*432111....111..1113*41.113*4*2.
**211..12**21......1*21....2*31...23421.
*32*1111123*1......12*1....12*1...1**1..
111111*111211.......222.....1221..1221..
...113221*21.....1111*1111.112*1111111..
...1*2*222*1...112*11111*1.1*2111*11*1..
...1122*22211111*2221..111.111..12221111
..111.112*1.1*11111*1............1*1..2*
..1*21..111.111111111111.........111..2*
.123*1.......112*1...1*1....111.......11
.1*211.......1*211...111111.1*1.........
.111..111....1221.......1*1.222.111.....
......1*1..1112*3221....11212*222*1..111
......111..1*12*3**1......1*22*2*21..1*1

Sample input:_

....*...................................
.*......................................
...*............*.......................
...................................*....
.................*......................
............*...........................
......*........*.......................*
........................................
........................................
........................................
........................................
...........................*............
........*...............................
.......................................*
..*....*..................*.............
........*.........................*.....
........................................
......*.................................
........................................
........................................

Sample output:

1111*1..................................
1*2221.........111......................
112*1..........1*1................111...
..111..........1221...............1*1...
...........111..1*1...............111...
.....111...1*111211...................11
.....1*1...1111*1.....................1*
.....111......111.....................11
........................................
........................................
..........................111...........
.......111................1*1...........
.......1*1................111.........11
.111..1221...............111..........1*
.1*1..1*21...............1*1.....111..11
.111..12*1...............111.....1*1....
.....11211.......................111....
.....1*1................................
.....111................................
........................................

Sample input:_

..***....................**..*........*.
...**.....*.*.*****.....*..*.*.*.**...*.
****.**..*.....*.**.......*...***.......
.**.*.*.........*.*.....**.*............
..*.*.*..*...**...*.****...*..*.*..**.*.
*...*.*......*.*.*****.*.*...*....*.*..*
*..........*...***....******...........*
......**....*..*......*....*.**.*..*....
...*....*****..*.....*......*.*.*..*....
***.**..............***.**.**...*....*.*
.........*.............**.*..**.....*.*.
***....*.*......*..*.*.....*....*..*.***
**..**...*..*.**..*.***.*..*..*....**...
.*...**.*.**...***.......*...........*.*
..........*.....*.*....*.....*.***.*....
.*.****..*.......*..*.....*.*.*..*.*...*
*.**.**.......*..*..*...*.*.....*....**.
*....**.*....**...*...........*.......*.
*.*...*.*......**.*...*.***.*..*.**.....
*...*.*..*...****.*.***...*.....*.......

Sample output:

.1***2...11212233321...12**23*312221.2*2
246**42112*2*2*****2...1*44*3*5*4**1.2*2
****5**21*22123*6**3...234*332***321.111
3**6*6*3222.1233*5*42333**4*223532122211
24*5*6*31*1.2**335*6****534*32*2*22**3*2
*313*4*211213*5*5*****7*6*533*2212*4*33*
*2.113331.1*324***4334******43321223212*
111111**3345*23*521.13*4334*4**4*22*2.11
233*3333*****22*2..13*432234*5*5*32*3121
***3**11344321111..1***4**3**534*2123*3*
464322213*2....11112444**4*44**32212*5*4
***2222*4*311223*22*4*44333*3333*12*5***
**42**434*43*2**54*3***2*23*21*2112**453
3*213**2*4**223***3323333*21223332334*2*
2232454324*31.13*5*2111*22222*3***4*3132
2*4****21*21.1123*33*21223*3*3*45*4*323*
*4**6**4221.13*22*33*2.1*3*31323*2212**3
*5333**5*2..1**434*31213353312*3332113*2
*4*225*5*31.246**5*424*3***3*22*3**1.111
*312*3*32*1.1****4*3***324*31112*321....

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1olf790.06722021/06/19 18:43:350B / 31B / 47B
2ludo790.06652021/07/06 22:32:580B / 33B / 43B
3rotary-o800.06292021/06/19 09:52:470B / 30B / 48B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o770.17662021/06/19 09:26:480B / 26B / 48B

Perl _

RankUserSizeTimeDateStatistics
1teebee550.05082021/06/10 05:55:420B / 28B / 24B
2tails550.05352021/06/10 09:57:561B / 22B / 29B
3rotary-o550.05052021/07/03 22:10:170B / 28B / 24B
4ySas560.05212021/07/02 18:45:030B / 26B / 27B
5Sisyphus570.05132021/06/12 21:05:350B / 29B / 25B
6tails (teebee,rotary-o)540.05222021/07/06 23:37:571B / 25B / 25B

Python _

RankUserSizeTimeDateStatistics
1teebee1160.11492021/06/11 05:11:580B / 60B / 47B
2Dingledooper1200.09052021/06/09 08:47:280B / 60B / 53B
3xnor1240.09452021/06/24 19:08:100B / 60B / 53B
4Erik the Outgolfer1380.09642021/06/09 06:25:140B / 75B / 56B

Python3 _

RankUserSizeTimeDateStatistics
1Dingledooper1080.16232021/06/10 13:50:300B / 49B / 54B
2Erik the Outgolfer1280.14192021/06/09 06:26:260B / 66B / 57B
3mypetlion1800.16162021/06/18 04:52:290B / 99B / 65B

JavaScript _

RankUserSizeTimeDateStatistics
1teebee1310.06312021/06/13 09:28:460B / 67B / 62B
20mg1370.09002021/06/12 07:39:550B / 67B / 68B

Perl6 _

RankUserSizeTimeDateStatistics
1Hydrazer1719.70892021/06/12 22:25:060B / 74B / 75B

C _

RankUserSizeTimeDateStatistics
1tails1090.04242021/06/25 15:20:130B / 58B / 51B
2chocobi1870.04082021/06/24 23:39:310B / 91B / 96B

Haskell _

RankUserSizeTimeDateStatistics
1lynn1200.08302021/06/17 01:03:190B / 59B / 54B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1880.15312021/06/12 16:48:020B / 110B / 73B

AWK _

RankUserSizeTimeDateStatistics
1Fleur980.12602021/06/09 10:39:020B / ?B / ?B

sed _

RankUserSizeTimeDateStatistics
1tails1731.59792021/07/01 17:24:180B / 39B / 124B

R _

RankUserSizeTimeDateStatistics
1ludo1180.56362021/07/06 22:30:030B / 58B / 57B
2olf1430.43192021/06/13 08:05:590B / 71B / 67B

gs2 _

RankUserSizeTimeDateStatistics
1tails300.68132021/06/30 17:30:0813B / 9B / 7B

Lazy-K _

RankUserSizeTimeDateStatistics
1tails6270.30602021/06/09 19:23:120B / 338B / 289B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o1036.82662021/06/12 14:26:140B / 61B / 38B

Language Ranking_

RankLangUserSizeScore
1gs2tails3010000
2Perltails (teebee,rotary-o)545555
3Ruby2rotary-o773896
4Rubyolf793797
5AWKFleur983061
6Scalarotary-o1032912
7Python3Dingledooper1082777
8Ctails1092752
9Pythonteebee1162586
10Rludo1182542
11Haskelllynn1202500
12JavaScriptteebee1312290
13Perl6Hydrazer1711754
14sedtails1731734
15Javarotary-o1881595
16Lazy-Ktails627478

return to the top page