← All problemsSign in

Trip To Thailand

Three friends were going on a trip to Thailand. During their journey in flight, they were reading about a special type of function called Panda function. Panda function P(X) of a number X gives the count of positive integers less than than equal to X which divide it. Now, the air hostess saw what they were doing and decided to pose a problem to them. She gives them two square free positive intege

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