Jattu and Numbers
CodeChefOpen on judge ↗
Jattu loves to play with numbers and jattu likes to code, So one day his friend gave him a problem(His Friend know that his favourite. Number is from 1 to 9 , Let say d). Jattu have to tell that whether ai is equal to sum of several (one or more) lucky numbers . He had to say this for all number in an array. A Lucky Number is that number which has d in their decimal representation.
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