Cody

Problem 2364. Convert a vector into numbers

  • Created by RA

Suppose a vector x = [ 1 2 4 7] is given. You have to convert this vector into string number y = '1247'.

Examples

 x = [ 1 3 5 6 ] 
 y = '1356'
 x = [ 2 5 7 23] 
 y = '25723'

Solution Stats

61.11% Correct | 38.89% Incorrect
Last Solution submitted on Mar 20, 2020

Problem Comments