straight line floodfill SIMPLIFIED
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Maybe less fun but easier (really? :) than
http://golf.shinh.org/p.rb?straight+line+floodfill
because now you can walk across/over your footprint and may choose whichever direction first.
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
Rank | User | Size | Time | Date | Statistics |
---|
1 | leonid | 137 | 1.0395 | 2011/11/14 07:07:36 | 0B / 48B / 84B |
2 | clock | 276 | 0.2150 | 2011/11/11 22:33:32 | 0B / 67B / 187B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 144 | 0.0443 | 2011/11/14 21:56:05 | 0B / 65B / 76B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | niisaka | 190 | 0.2998 | 2011/11/10 19:50:43 | 0B / 89B / 88B |
2 | hallvabo | 194 | 0.0735 | 2011/11/09 06:05:24 | 0B / 90B / 90B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kaki | 250 | 0.2373 | 2011/11/14 17:41:02 | 0B / 95B / 123B |
2 | kaki | 245 | 0.1528 | 2013/03/25 06:17:07 | 0B / 89B / 129B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | jg10 | 370 | 0.5035 | 2011/11/12 18:19:52 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 96 | 0.2672 | 2011/11/13 22:52:53 | 6B / 45B / 37B |
2 | clock | 92 | 0.3651 | 2011/11/15 09:55:41 | 6B / 43B / 35B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | Vim | clock | 92 | 10000 |
2 | J | I., S. | 108 | 8518 |
3 | Ruby | leonid | 137 | 6715 |
4 | Perl | tails | 144 | 6388 |
5 | Python | niisaka | 190 | 4842 |
6 | Scheme | kaki | 245 | 3755 |
7 | R | jg10 | 370 | 2486 |
return to the top page