Chef and Scores
CodeChefOpen on judge ↗
Chef is addicted to checking cricket scores. One fine day, he dreams of a world cup consisting of infinite number of matches. His excitement either remains the same or increases after every match. He checks the score of the $1^{st}$ match $1$ time. His excitement now increases and he checks score of $2^{nd}$ match $2$ times. So, score of $\textbf{i}^{th}$ match is checked greater or equal times t
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