Solution to a conjecture of Schmidt and Tuller on one-dimensional packings and coverings