Generate the following vector: if n=1 then q=1; elseif n=2 then q=[2 2 1]; elseif n=3 then q=[3 3 3 2 2 1]; ... end
Did I do it right?
regexp hacks are not cool. Please disallow them in the Test Suite.
Switch matrix to a column vector
189 Solvers
Area of an equilateral triangle
1706 Solvers
281 Solvers
167 Solvers
463 Solvers