← All problemsSign in

Ichicka and Toys

Ichika is the daughter of Kaneki and Touka. One day Kaneki and Touka went for a party and left Ichika at home. Ichika got tired and wanted to do a trick with her toys. She has $N$ toys and the weight of the $i$th toy is $i$. Also being half ghoul she also has a superpower , which is she can make $N-1$ clones of that type of toy. So at last she has $N^2$ toys. Now, she has infinite bags in

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