Yash’s Triplets
CodeChefOpen on judge ↗
“Tell them the North Remembers” Given three numbers $L$, $R$ and $K$. Find the number of numbers where the sum of the odd digits of the numbers between $L$ and $R$(Inclusive of $L$ and $R$) divided by the sum of its even digits is equal to $K$. Input: - The first line of the input consists of the number of test cases $T$. - For each test each first line contains $L$ and second line contains $R
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