The starting point of this question is the following theorem.
Theorem (4.10 in Rudin's) Every nonempty, closed, convex set $E$ in a Hilbert space $H$ contains a unique element of smallest norm.
Consider $(C([0,1], \mathbb{K}), \Vert \cdot \Vert_\infty)$. Let
$$A = \left\{f \in C([0,1]) \text{ such that } \int_{0}^\frac{1}{2} f(t)\, dt - \int_{\frac{1}{2}}^{1} f(t)\, dt= 1\right\}$$
Consider $L^1([0,1])$. Let $$B = \left\{f \in L^1([0,1]) \text{ such that } \int_{0}^1 f(t)\, dt = 1\right\}$$
$A$ and $B$ are nonempty.
How can I prove that $A$ is convex and closed but has no element of smallest norm?
How can I prove that $B$ is convex and closed but has infinitely many elements of smallest norm?