Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 8 years ago

Language

Compiler

Options

Author

anonymous

over 8 years ago

$
prog.cc:290:41: warning: unused parameter 'h' [-Wunused-parameter]
bool drill(char *const grid, int w, int h, int value, rectangle region)
                                        ^
prog.cc:341:14: warning: unused variable 'size' [-Wunused-variable]
                const auto size = w * h;
                           ^
2 warnings generated.
3
####################
###############  # #
## # #  #        ###
##           ### ###
##        # #    # #
##         # #   ###
##       # #    ####
##        # ########
## ##    #  #  # # #
#########   # ## ###
######## # # ##  ###
###        #########
####################
####################

3
####################
############### ####
##           # # # #
##           #######
##        #  ##  ###
##       #### ######
##       #######   #
##     #   ## ###  #
##          # #  ###
###  ## # #  # # ###
# ###############  #
########   ## ## ###
#   ## #############
####################

4
####################
##############   ###
##   #           ###
##     #     #   ###
##        ####  #  #
###        ####  ###
##         #### ####
##        ### ######
## ##  #    ## #   #
#########   #### ###
######## #   ##  ###
##    #    #########
####################
####################

4
####################
###############   ##
###             ####
##     #     ##   ##
##              ## #
###          ## ####
##       # # ## ####
##           ##### #
##  ##       # ### #
################ ###
######## ### ##  ###
##        ## #######
############## #####
####################

3
###############
########### ###
###     ##  # #
##     #   ####
##       ## ###
##         ####
##       ######
#########     #
#########  # ##
###############

2
###############
############ ##
##       ######
##       ######
##        # ###
##          ###
##        #   #
#########     #
#########   ###
###############

1
###############
###############
##   ##  ###  #
##            #
##     ##   ###
##   ##########
## #####      #
#####    ######
###############
###############

2
###############
###############
##   ##  ###  #
##            #
##     ##     #
##   ####   ###
##     ########
#######       #
###   ######  #
###############

1
###########
####### # #
##   ##  ##
##        #
##    # # #
#### #### #
###     ###
###########

1
###########
####### ###
##   ##   #
##        #
##   ## # #
###   ##  #
###     ###
###########

0
###########
######### #
##      # #
##       ##
###  ###  #
########  #
###########

0
##########
##########
###  # ###
### ## ###
##     ###
##########
##########

0
##########
######  ##
## # #####
###  #####
###   ####
##### # ##
##########

0
##########
##########
#### #####
###   ####
#####  ###
##########
##########

Exit Code:
0