-
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
-
Find the numeric mean of the prime numbers in a matrix.
9000 Solvers
-
6677 Solvers
-
Check to see if a Sudoku Puzzle is Solved
328 Solvers
-
284 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2510 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!