Can you Rank UP
CodeChefOpen on judge ↗
Manish is a great coder. Today he is participating in one contest. many of their friends have solved all problem but he is unable to solve one of the problem. So he decided to hack system and change the total point of the all participant in following way such that their rank will increase. He know total point of all participant as array $a$ of $n$ element including his points. He can do foll
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