Weightlifting
Chef, being an international powerlifter, has participated in a powerlifting competition. The competition consists of three rounds, i.e., squat, bench press, and, deadlift. In each round, the goal is to lift maximum weight, and Chef gets two attempts to do that. For each round, the score of best attempt is taken into consideration and the total score is calculated as the sum of scores of all rou
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