Problem 319. Biggest Value in the (Neighbor)Hood
Solution Stats
Problem Comments
-
6 Comments
Is the B matrix described above correct?
no, I believe the first and last rows should read [1 0 0 0 2 3 3] and [1 3 2 3 0 0 2], respectively
Is the test suite correct now? An old problem though...
Hello Rifat, I've solved this one recently, and it seems to be ok.
The test suite has been updated and solutions have been rescored.
The example given above is incorrect for B.
See Case Test 1 for the correct B example.
B = [1 0 0 0 2 3 3;...
3 2 4 2 0 2 0;...
0 2 3 3 3 1 3;...
4 2 0 1 4 3 1;...
1 3 2 3 0 0 2]
Solution Comments
Show commentsProblem Recent Solvers26
Suggested Problems
-
Swap the first and last columns
22442 Solvers
-
1470 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1983 Solvers
-
11445 Solvers
-
269 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!