Yoga Class
On the occasion of Yoga Day, the only yoga instructor in Chefland, Chef, has received numerous queries. Chef has managed to free up $N$ hours from his busy schedule to conduct yoga sessions. There are two types of sessions that Chef offers: - Type $1$ session, which lasts $1$ hour, and earns Chef $X$ rupees. - Type $2$ session, which lasts $2$ hours, and earns Chef $Y \ (Y \gt X)$ rupees. Fin
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.
Sign in to chat with the tutor and save your progress.
Sign in to start