谁能告诉我我的算法代码有什么问题?当我运行它时,它在末尾添加了 =0。这是算法:
\documentclass{article}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{algpseudocode}
\begin{document}
\begin{algorithm}
\caption{Dynamic programming algorithm for RRH clustering problem}
\label{alg1}
\begin{algorithmic}[1]
\STATE return table[N,Capacity]
\end{algorithmic}
\end{algorithm}\end{document}
结果如下: