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

57.14% Correct | 42.86% Incorrect
Last Solution submitted on Nov 08, 2019