摘要: Problem Description Bruce Force has had an interesting idea how to encode strings. The following is the description of how the encoding is done:Let x1 阅读全文
posted @ 2021-02-17 20:54 mikku 阅读(57) 评论(0) 推荐(0)
摘要: In our daily life we often use 233 to express our feelings. Actually, we may say 2333, 23333, or 233333 ... in the same meaning. And here is the quest 阅读全文
posted @ 2021-02-17 19:23 mikku 阅读(49) 评论(0) 推荐(0)
摘要: Problem Description 考虑一个含有 N 个细胞的一维细胞自动机。细胞从 0 到 N-1 标号。每个细胞有一个被表示成一个小于 M 的非负 整数的状态。细胞的状态会在每个整数时刻发生骤变。我们定义 S(i,t) 表示第 i 个细胞在时刻 t 的状态。在 时刻 t+1 的状态被表示为 阅读全文
posted @ 2021-02-17 18:04 mikku 阅读(41) 评论(0) 推荐(0)
摘要: Problem Description Given a n × n matrix A and a positive integer k, find the sum S = A + A2 + A3 + … + Ak. Input The input contains exactly one test 阅读全文
posted @ 2021-02-17 15:06 mikku 阅读(40) 评论(0) 推荐(0)