Ganesh Impresses Jojo
CodeChefOpen on judge ↗
Ganesh Gaitonde, the don of Gopalmath, wants everything the way he likes. His true love Jojo is however upset with his rude behavior. Ganesh wants to impress Jojo with his skills, but Jojo is a maths freak. She challenged Gaitonde to solve a mathematical problem. So he catches you, the best mathematician of gopalmath to solve the problem and you won`t be released until you solve it. Jojo asks Gane
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.
Sign in to chat with the tutor and save your progress.
Sign in to start