Love is in the air
CodeChefOpen on judge ↗
Tara was completing an Algorithms assignment and got stuck on a question. She thought of who can help her, and got reminded of Kabir who has good problem solving skills. The question is: Given $N$ the number of elements in the sequence $A_1$,$A_2$ ... $A_n$. Find out the prime factor which occurred maximum number of times among the largest prime factor corresponding to each element. if there ar
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