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

54.12% Correct | 45.88% Incorrect
Last solution submitted on Aug 28, 2019