Cody

Problem 44821. Scalar Matrix Manipulation

Assume, input x is a scalar matrix such as,

x =
       2     0     0
       0     2     0
       0     0     2

then the output matrix will be,

y =
       0     2     2
       2     0     2
       2     2     0

Solution Stats

63.33% Correct | 36.67% Incorrect
Last solution submitted on Jul 31, 2019