← All problemsSign in

Nellex and GraVITas

Nellex is coming to VIT this gravitas to make loads of money by wining various coding event. Being the best in this business, it is known that he'll win each and every event that he participates in. However he'll be staying in here for only some amount of hours. Given the amount of cash prize associated with each and every event and the number of hours to be spent in each of these event, you're

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