Game of Noobies
CodeChefOpen on judge ↗
Noobie Priyansh procrastinates way too much (of course, why else would he still be a noobie?). Whenever he is asked to code, he starts playing online games. Miraculously, he has come up with his own version of a game. He calls it ‘Game of Intelligent People’, but it’s actually ‘Game of Noobies’. Initially, he takes an ordered list of N integers (the order of numbers in the list matter). For every
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