-
2 Comments
Deepthi Palagati
on 6 Aug 2018
answer to the first test case should be 205
and for third test case should be 558
as question given as summing all digits except the digit mention as 'm'
Bryan Lambo
on 16 Jan 2020
the problem means to exclude all numbers with the digit 'm'
so example n=20, m=5, you exclude numbers 5 and 15 as these contains the digit m=5.
Suggested Problems
-
22337 Solvers
-
233 Solvers
-
600 Solvers
-
14475 Solvers
-
671 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!