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
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1820 Solvers
-
Determine Whether an array is empty
775 Solvers
-
1309 Solvers
-
Matlab Basics - Convert a row vector to a column vector
628 Solvers
-
1451 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!