← All problemsSign in

Friends Meeting

Problem Description: Shubham and Akshat are meeting after one year during their summer vacations.Akshat ask for help from Shubham so that he can solve the problem given by his faculty.Akshat's faculty has given a sequence of N numbers as a1, a2, ..., aN and asks him to find the smallest possible value of ai * aj such that it is a prime number, where 1 Input Format: The first line of the input co

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start