Help Ramanujan
CodeChefOpen on judge ↗
Ramanujan is a mathematician who needs no introduction. He recorded the mathematical discoveries of the last year of his life in a notebook. This notebook was lost and you are lucky enough to find it. However, you are very worried because there is a problem that remains unsolved. The problem is described in the next lines. There are two lists of integers say $A$ and $B$ each of size $N$. The Ram
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