Desik And Sum
CodeChefOpen on judge ↗
Desik writes down all numbers from L to R. He wants to find the sum of even numbers whose sum of digits is divisible by 3. As the range can be very large please help him with the problem. Input First line contains T denoting the number of test cases. T lines follow containing two space separated integers L and R. Output Print the answer to problem for the given test cases in newline. Constra
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