Shivansh And Protein Shakes
CodeChefOpen on judge ↗
Shivansh is a CSE guy. He is very skinny that's why everyone calls him "Haddi".Now he decided to increase his weight but in a different way. He joined a Gym with a World's Best Gym instructor "Dora".Dora has N protein shakes (1 to N) with Power Pi. Now Dora will give him two numbers x and y So that Shivansh has to drink all protein shakes from x to y. He repeats this process q times(giving two num
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