Problem 42633. Cumulative maximum of an array
21.92% Correct | 78.08% Incorrect
Last Solution submitted on May 17, 2023
Jean-Marie Sainthillier on 7 Jul 2022
There is a problem is the first test.
Remove the assert(isempty(strfind(filetext,'max'))) because the name of the function cumax contains the string max.
Christian Schröder on 7 Oct 2022
@Matthew, could you be so kind and fix the first test? As it is, it is impossible to solve this problem since the function name "cumax" itself contains the string "max".
This also makes it impossible to obtain the Matrix Manipulation III badge.
Dyuman Joshi on 9 Oct 2022
The test suite has been updated temporarily.
Solution CommentsShow comments
Problem Recent Solvers31
Pig Latin to English Translator
Replace pattern 0 1 0 and 1 0 1
More from this Author44
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!