Divisors and Reciprocals
Alice is teaching Bob maths via a game called $N$-guesser. Alice has a positive integer $N$ which Bob needs to guess. She gives him two pieces of information with which to do this: - A positive integer $X$, which denotes the sum of divisors of $N$. - Two positive integers $A$ and $B$, which denote that the sum of reciprocals of divisors of $N$ is $A/B$. Bob either needs to guess $N$ or tell tha
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