← All problemsSign in

Mathophobia

Diksha, the coder girl is always obsessed about solving Math problems. She is so indulged in solving these problems that her friends has now started thinking that she is suffering from Mathophobia. Now, Diksha's birthday is about to come and one of her friend Trina want to gift her a beautiful number. A number is a beautiful number if it can be expressed in the form of $a^b$ where $a$ and $b$ are

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