You are viewing a single comment's thread. Return to all comments →
Python3
count_of_4squares = (n//2)*(m//2) remaining_squares = (n*m) - (count_of_4squares*4) count_supplies = count_of_4squares + math.ceil(remaining_squares/2) return count_supplies
Seems like cookies are disabled on this browser, please enable them to open this website
Army Game
You are viewing a single comment's thread. Return to all comments →
Python3