← All problemsSign in

Maximum Slams

CodeChefRating 224Open on judge ↗

Chef is a professional tennis player, and his aim is to win more Grand Slams than anyone ever has! Currently, Chef has won $X$ Grand Slams in total. Chef needs to win **at least** $25$ Grand Slams in total to break the record for most total wins. Every year, there are exactly $4$ Grand Slams. Assuming Chef is skilled enough to always win every Grand Slam, what's the minimum number of years Che

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