← All problemsSign in

The Preparations

CodeChefRating 823Open on judge ↗

Chef has an exam which will start exactly $M$ minutes from now. However, instead of preparing for his exam, Chef started watching Season-$1$ of Superchef. Season-$1$ has $N$ episodes, and the duration of **each** episode is $K$ minutes. Will Chef be able to finish watching Season-$1$ **strictly before** the exam starts? $\textbf{Note:}$ Please read the explanations of the sample test cases car

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start