Hints:
1) Recall that for any positive number $\alpha$, one has
$$ \lim\limits_{n\rightarrow\infty} \alpha^{1/n}=1.$$
2) One has the estimate:
$$\biggl(\int_a^b (f(x))^n \,dx\biggr)^{1/n}\le
\biggl(\int_a^b M^n \,dx\biggr)^{1/n}
= (b-a)^{1/n}\cdot M .$$
3)
Let $\epsilon>0$. By continuity of $f$, choose a non-degenerate interval $[c,d]$ such that $f(x)\ge M-\epsilon$ for all $x\in [c,d]$. Note
$$
\biggl(\int_a^b (f(x))^n\, dx\biggr)^{1/n}\ge \biggl(\int_c^d (M-\epsilon)^n\,dx\biggr)^{1/n} =(M-\epsilon) (d-c)^{1/n}.
$$
Be careful not to imply that the limit exists before proving that it indeed does exist. (From 2), you can show the $\limsup$ is at most $M$; and from $3$, you can show that the $\liminf$ is at least $M$.)