← All problemsSign in

Smallest To Square

La Sasika was a French maid who was a specialist in cleaning utensils. La Sasika was very efficient if the number of utensils left to clean was a square number. Her master gave her N utensils to wash. Due to her skills, Sasika had gained power to multiply utensils by one another. That is, she could multiple 5 utensils by 2 utensils and produce 10 utensils! What is the smallest positive integer n

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