← All problemsSign in

Chocobar Friends

There are two friends named as Choco, Sweeti living in chocoplanet . Choco is very intelligent in mathematics. He always get $100$ percent result in mathematics. But her friend Sweeti is weak in mathematics. One day her teacher gave her a maths problem. And Choco wants to help her. So write a program to help Choco to solve that problem. It is given that there are $Z$ no. of chocobars , th

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