A cube with a side of 1 m was sawn into cubes with a side of 1 cm and they were in a row (along a straight line). How long was the line?