Axiom
CodeChefOpen on judge ↗
Nipun is super lazy and has to appear for AMCAT test. The test comprises of only one question in which he is given a number $N$. Initially, he has to calculate all prime numbers less than or equal to $N$. Then he has to convert the prime numbers into a single number by applying the following operation. In each operation you should combine any two numbers and add the resultant to the list and remov
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