Skip to content

Latest commit

 

History

History

fastCookingPancakes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Fast cooking pancakes

7 kyu link to kata
my solution

You need to cook pancakes, but you are very hungry. As known, one needs to fry a pancake one minute on each side. What is the minimum time you need to cook n pancakes, if you can put on the frying pan only m pancakes at a time? n and m are positive integers between 1 and 1000.