You are going to toast some slices of bread for an upcoming party. You have a frying pan that can hold at most k toasts at the same time. Toasting one side of a toast takes 2 minutes.
Ще в давнину єгиптяни знали, що трикутник зі сторонами 3, 4 і 5 є прямокутним, а його прямий кут — найбільший. Визначте, чи мають те саме властивість і інші трикутники.