Chef and Premier League
CodeChefOpen on judge ↗
Chef is a big fan of football and an avid follower of the Premier League. Chef’s favourite team is Tottenpool City. Tottenpool City is on the verge of breaking the record for the highest points in a single season. If they achieve at least P more points in their remaining M matches, they will be successful in breaking the record. A Win carries 2 points. A Draw carries 1 points. A Loss carries 0 poi
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