Problem 160. So many choices
52.8% Correct | 47.2% Incorrect
Last Solution submitted on Feb 16, 2023
Sumit Agrawal on 10 Sep 2013
Why in my pc showing correct but not in this
the cyclist on 11 Sep 2013
@Sumit, you are probably using a function from a toolbox (e.g. statistics toolbox) that is not available to Cody.
Riccardo Dessì on 25 Feb 2018
alexander on 8 Mar 2017
The test suite throws errors where but I get correct answers when I run.
function y = fcn(n,k)
y = size(combntns(1:n,k),1);
Problem Recent Solvers429
All your base are belong to us
Duplicate each element of a vector.
More from this Author23
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!