Punish Alex
CodeChefOpen on judge ↗
Note : This question carries $100$ $points$ Alex works in a reputed multinational company as a junior programmer. Alex is not that good with programming and his programs usually have a lot of bugs in them. His boss, thus, is always angry with Alex. As a jealous co-worker, you have decided to suggest your boss a $weird$ way to punish Alex this time. Alex is punished in such a way that he will
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