答案1
答案2
\documentclass{scrartcl}
\usepackage[shortlabels]{enumitem}
\newcommand*\makeboldlabel[1]{\textbf{#1}}
\begin{document}
\begin{enumerate}[align=right,before=\let\makelabel\makeboldlabel]
\item[25-1] Compute $1 + 1$
\item[25-8] Compute $1 \times 1$
\end{enumerate}
\end{document}