Cody

Problem 1762. Create incrementing array

Given a and b generate an output matrix as shown in following examples:

 a=2
 b=5
 output=[2 20 200 2000 20000]
 a=4
 b=3
 output=[4 40 400]

Solution Stats

53.76% Correct | 46.24% Incorrect
Last Solution submitted on Nov 07, 2019