← All problemsSign in

Rishabh and his Attendance

Rishabh is a lazy person and he doesn't want to attend long lectures in college. But as per the rules, he has to maintain a minimum of 70% of the total lectures. The total number of lectures conducted are **90**. Rishabh attended only $S$ lectures which is always less then the required. So he asks his friend Lomesh to help him. Lomesh told him to organize some technical events in college. And for

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