Mr Lathi and his Numbers
CodeChefOpen on judge ↗
Mr Lathi likes to play with primes.He asked a range,R=[L,U] of numbers from which firstly find the prime numbers,P,that fall in that range.L is the lower limit of R and U the upper limit.Then from those prime numbers find all the 5 digit palindrome numbers. 5 digit palindrome numbers can also be created by combining N prime numbers which are found previously.The value of N is 2.The palindrome nu
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