HELP THE VIGILANT
CodeChefOpen on judge ↗
Golu has a lot of ups and downs in his coding life. He is keen to win the Contest. So he practices for competitive coding every day and rates his performance of each contest as colour code. He has 5 different colour codes -"Purple"-P, "Blue"-B, "Yellow"-Y, "Orange"-O and "Red"-R. P is the code for worst performance and R for the best. Golu keeps track of all his performances using performance ser
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