← All problemsSign in

Chef and Cook-Off

CodeChefRating 961Open on judge ↗

Chef has obtained the results of a past Cook-Off. He wants to estimate the skill level of each contestant. The contestants can be classified with high probability (w.h.p.) based on the number of solved problems: - A contestant that solved exactly 0 problems is a beginner. - A contestant that solved exactly 1 problem is a junior developer. - A contestant that solved exactly 2 problems is a middl

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start