摘要: Codeforces Round #685 (Div. 2) A. Subtract or Divide 题意 给你一个正整数 \(n\), 每次可以执行两种操作: \(n = n-1\) \(n = n/x \ (n \% x == 0)\) 问 \(n\) 变成 $1$, 最小要执行几次? 思路 阅读全文
posted @ 2020-11-24 19:55 竹攸 阅读(131) 评论(0) 推荐(0) 编辑