我收到此错误 Extra },或忘记了 \endgroup。Extra },或忘记了 \endgroup。\Return 的参数有一个额外的 }。段落中 615--615 行的 \hbox 未满(不良程度 10000)失控参数?
\noindent\fbox{%
\begin{minipage}{\dimexpr\linewidth-2\fboxsep-2\fboxrule\relax}
\begin{algorithmic}[1]
\Function{get\_network\_traffic}{}
\State \Comment{Gets the current network traffic}
\State $interfaces \gets$ \Call{get\_network\_io\_counters}{per\_interface = true}
\State $network\_traffic \gets 0$
\ForAll{$interface$ in $interfaces$}
\State $network\_traffic \gets network\_traffic + interface.bytes\_recv + interface.bytes\_sent$
\EndFor
\State \Return $network\_traffic$
\EndFunction
\State
\State $network\_traffic \gets$ \Call{get\_network\_traffic}{}
\State \Print{"The current network traffic is " + $network\_traffic$ + " bytes."}
\end{algorithmic}
\end{minipage}%
}