Problem 50801. Find x rows where the sum of the numbers is the maximum
Solution Stats
Problem Comments
-
7 Comments
Please like it if it was helpful to learn basic commands!
Hello, @Szász
Before submitting a problem, make sure -
1) You are not submitting something that has already been posted or anything similar. Mostly, this consists of the simplest of problems related to MATLAB.
2) You are submitting problems with atleast 3 test cases. This is to ensure people solve the problem diligently and to discourage the use of hack/hard-coded solutions.
3) You use helpful tags for the problem so that it is helpful to the members of the community.
Thank You Joshi!
Yes! Thank you Joshi
I think this problem still needs to be moved out of this problem group.
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is
2 3 5
0 2 3
5 5 6
0 9 4
then y =
5 5 6
2 3 5
Shouldn't y be
5 5 6
0 9 4 ?
as 13>10
It should be, and the problem statement has been corrected.
Solution Comments
Show commentsProblem Recent Solvers424
Suggested Problems
-
839 Solvers
-
Split a string into chunks of specified length
1678 Solvers
-
5127 Solvers
-
6320 Solvers
-
158 Solvers
More from this Author12
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!