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.85% Correct | 45.15% Incorrect
Last Solution submitted on Jun 22, 2020