首页 / 更多教程 / Codeforces Round #162 (Div. 1) B. Good Sequences (dp+分解素数)