摘要: HDU 1207 汉诺塔II 题目链接 https://vjudge.net/problem/HDU 1207 题面 Description 经典的汉诺塔问题经常作为一个递归的经典例题存在。可能有人并不知道汉诺塔问题的典故。汉诺塔来源于印度传说的一个故事,上帝创造世界时作了三根金刚石柱子,在一根柱子 阅读全文
posted @ 2019-02-15 22:13 Artoriax 阅读(963) 评论(0) 推荐(0) 编辑
摘要: 题目链接 https://vjudge.net/problem/CodeForces 999D 题面 Description You are given an array consisting of n integers a1,a2,…,an, and a positive integer m. I 阅读全文
posted @ 2019-02-15 17:41 Artoriax 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 题目链接 https://vjudge.net/problem/CodeForces 1061D 题面 Description There are nn TV shows you want to watch. Suppose the whole time is split into equal pa 阅读全文
posted @ 2019-02-15 17:14 Artoriax 阅读(380) 评论(0) 推荐(1) 编辑
摘要: 题目链接 https://vjudge.net/problem/CodeForces 1061B 题面 Description You came to the exhibition and one exhibit has drawn your attention. It consists of nn 阅读全文
posted @ 2019-02-15 12:48 Artoriax 阅读(236) 评论(0) 推荐(0) 编辑