← All problemsSign in

Writing Speed

CodeChefRating 271Open on judge ↗

Rahul has a $5$-page assignment due in $60$ minutes. He can write one page in $X$ minutes. Determine if Rahul can complete the assignment within the given time constraint. ### Input - The only line of input will contain a single integer $X$, denoting the time taken (in minutes) by Rahul to write one page. ### Output Print `YES` if Rahul can complete the assignment in time, otherwise print `NO`

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