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 Solvers433
Suggested Problems
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1099 Solvers
-
733 Solvers
-
301 Solvers
-
288 Solvers
-
743 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!