← All problemsSign in

Help Ram

Ramkumar loves to solve riddles one day SpojSathyagave him a riddle to solve. Sathya will give him pair of integers a and b. Ramkumar has to find the largest number in the range [a,b] inclusive which can be represented as product of atleast two prime numbers. But ramkumar is busy in watching "Arrow" he is asking your help. Help him to find the largest such number in that range. Input format: T

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