Skip to main content

洛谷 P1008 [NOIP 1998 普及组] 三连击

1,2,,91,2,\dots,999 个数分成 33 组,分别组成 33 个三位数,且使这 33 个三位数构成 1:2:31:2:3 的比例,试求出所有满足条件的 33 个三位数。