ENG
RUS
Timus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board
Discussion of Problem
1820
. Ural Steaks
Hint
Posted by
So Sui Ming
8 Jan 2024 19:29
Consider 2 cases:
(1) K >= N
(2) K < N
and fry one side of each steak first.
Try cases like:
N=7,K=1; N=7,K=2; up to N=7,K=6 and find the pattern.
© 2000–2024
Timus Online Judge Team
. All rights reserved.