Good Fortune
CodeChefOpen on judge ↗
A boy named flick wants to buy some lottery tickets. so he visits a Fortune Teller to determine his lucky numbers for which he can win. the Fortune Teller tells him to buy Tickets whose number Ends with either $4$,$7$ or $9$.but the lottery counter has tickets of Numbers from Range $L$ to $R$(both Inclusive). so flick has to buy the tickets with numbers between $L$ and $R$ (both inclusive), so he
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