The question comes from the proof of Theorem 4.15 of this book.
Let $f:[0,T]\to \mathbb{R}^n$ be a bounded Lebesgue integrable function. Then, \begin{equation} \lim_{N\to\infty} \min_{(x_1,\dots,x_N)\in\mathbb{R}^{nN}} \sum_{i=1}^N \int_{(i-1)T/N}^{iT/N}\|f(t) - x_i\|dt = 0 \end{equation} where the norm is Euclidean.
Would you give me any hint or a reference?