摘要: Problem Description Nim is a mathematical game of strategy in which two players take turns removing objects from distinct heaps. On each turn, a playe 阅读全文
posted @ 2016-08-16 22:07 惟愿。。。 阅读(290) 评论(0) 推荐(0) 编辑
摘要: Problem Description Today is Gorwin’s birthday. So her mother want to realize her a wish. Gorwin says that she wants to eat many cakes. Thus, her moth 阅读全文
posted @ 2016-08-16 17:21 惟愿。。。 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Description 在一些知名的表格处理系统中(比如:excel表格),我们经常用大写的字母来表示列,例如A表示第1列,B表示第2列,第26列用Z来表示,同时第27列我们用AA来表示,第28列我们用AB来表示,第29列我们用AC来表示,AZ表示第52列,ZZ之后我们就需要用3个字母来表示列了。 阅读全文
posted @ 2016-08-16 15:03 惟愿。。。 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Description 我们看到过很多直线分割平面的题目,今天的这个题目稍微有些变化,我们要求的是n条折线分割平面的最大数目。比如,一条折线可以将平面分成两部分,两条折线最多可以将平面分成7部分,具体如下所示。 Description 我们看到过很多直线分割平面的题目,今天的这个题目稍微有些变化,我 阅读全文
posted @ 2016-08-16 10:24 惟愿。。。 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Description Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as d 阅读全文
posted @ 2016-08-16 10:11 惟愿。。。 阅读(133) 评论(0) 推荐(0) 编辑