← All problemsSign in

Gaurav and Shruti

Gaurav and Shurti are in a relationship. Gaurav loves shruti alot and he is loyal to her. Shruti is not very loyal. Shruti is attracted towards prime numbers but she does not like numbers more than 6 digits in them. Gaurav thinks that shruti is cheating on him with a guy who is also attracted to prime numbers. Gaurav thinks that a person with maximum prime numbers in his phone number is the person

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