Hausdorff Dimension of a Cantor set on $R^1$