Non-random submission that passes Test Suite. (And it's not the only one!) To be a bit more more strict, the Test Suite could check to ensure separate calls on the function "randpro" with identical input variable "n" produce (significantly) different outputs, which is expected from the requirement of the Problem Statement to output "random" numbers.
Hard-coded specifically for the tests in the Test Suite :-P
Back to basics 9 - Indexed References
396 Solvers
2937 Solvers
Given a window, how many subsets of a vector sum positive
754 Solvers
Is this triangle right-angled?
2517 Solvers
Pernicious Anniversary Problem
737 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!