Gỗ
\begin{center} \includegraphics[bb=0 0 100 200]{chatcay.png} \end{center}
Ví dụ
Ví dụ 1
input
4 7
20 15 10 17
output
15
Ví dụ 2
input
5 20
4 42 40 26 46
output
36
\begin{center} \includegraphics[bb=0 0 100 200]{chatcay.png} \end{center}
input
4 7
20 15 10 17
output
15
input
5 20
4 42 40 26 46
output
36
Comments