← All problemsSign in

GIAN AND THE DONUTS

We all know $Gian$, apart from thinking about how to improve his singing skills (but there is not much improvement : P), how to make the best baseball team, how to tease Nobita more and more, he also thinks about $food$ since he is a foodie also. Today Gian's mother sends him to the market to buy donuts. Market consists of $N$ shops. Each of them having some type of donuts denoted by $A[i]$. Gia

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