← All problemsSign in

Excited Kashyap !!!

Kashyap is very excited today. Because he is going to get the phone number of his dream girl Riya. But there is a twist, Riya has $N$ numbers, she asked Kashyap to choose a number. If the total count of divisors of that number will be $odd$ then she will give him the correct contact number otherwise wrong number. You are a friend of Kashyap, So you want to help him by telling him all such numbers

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