Problem 42781. How many ways to write a number
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Anupam Agarwal
on 22 Mar 2016
please correct the reference solution to com(x,k) instead of com(x)
Jihye Sofia Seo
on 12 Feb 2017
Please correct test cases, the function should have 2 arguments.
Ramon Villamangca
on 14 Dec 2021
Error message: Not enough input arguments.
Dyuman Joshi
on 14 Dec 2021
The test suite has been corrected.
Solution Comments
Show commentsProblem Recent Solvers20
Suggested Problems
-
Arrange vector in ascending order
744 Solvers
-
1300 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
913 Solvers
-
Find the index of n in magic(n)
219 Solvers
-
Mersenne Primes vs. All Primes
527 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!