consider using isequalwithequalnans (isequaln) against NaN instead of isequal against 'NaN' in test 7.
n=-1 ???
how to place negative amount of 'wheat' on a chessboard?
the prob is gd but the test suites are unnecessarily jumbled up.
Removed the cases with negative quantities. Everyone should be able to solve the problem now.
This should also be slimmed down somehow.
Someone can easily beat this lead.
Find the numeric mean of the prime numbers in a matrix.
6910 Solvers
5923 Solvers
334 Solvers
352 Solvers
436 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!