Survive Engineering
CodeChefOpen on judge ↗
The day Ankush got 10 CGPA in 10th standard, he decided, to become an Engineer. Little did he know, what was ahead of him. At the start of his engineering journey, he has an initial motivation of $Z$ units. There are many ups and downs in engineering life. Let's assume the engineering life is divided into $N$ weeks. Each week may or may not have an event associated with it. The events can be : -
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