Quest Of Numbers
CodeChefOpen on judge ↗
Onkar and Krushna are two best friends.They decided to play a game of numbers.They took a sequence of consecutive numbers from L to R (both inclusive) and converted each number according to a special function delta. - delta(183)=delta(1+8+3)=delta(12)=delta(1+2)=delta(3)=3 - delta(456)=delta(4+5+6)=delta(15)=delta(1+5)=delta(6)=6 Onkar bets that in the chosen sequence,the number of occurances o
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