%\floatname{algorithm}{算法} \renewcommand{\algorithmicrequire}{\textbf{Input:}} \renewcommand{\algorithmicensure}{\textbf{Output:}} \begin{algorithm}[H] \setcounter{algorithm}{1} #表示该伪代码为algorithm2(1+1) \caption{\textbf{Shelves distribution}} \begin{algorithmic}[1] %每行显示行号 \Require Cluster results,SKU historical delivery frequency \Ensure Shelves layout \State Determine the number of shelves that each cluster should be assigned to each subdivision based on the number of shelves that each partition can hold \State Assign shelves within each cluster to each partition \State Sort the shelves of each partition by frequency \State\Return{$result$} \end{algorithmic} \end{algorithm}