摘要:
Description You are in a cave, a long cave! The cave can be represented by a 1 x N grid. Each cell of the cave can contain any amount of gold. Initial
阅读全文
posted @ 2016-08-19 11:19
惟愿。。。
阅读(244)
推荐(0)
摘要:
Description Berland National Library has recently been built in the capital of Berland. In addition, in the library you can take any of the collected
阅读全文
posted @ 2016-08-17 22:17
惟愿。。。
阅读(356)
推荐(0)
摘要:
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
惟愿。。。
阅读(309)
推荐(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
惟愿。。。
阅读(147)
推荐(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
惟愿。。。
阅读(236)
推荐(0)
摘要:
Description 我们看到过很多直线分割平面的题目,今天的这个题目稍微有些变化,我们要求的是n条折线分割平面的最大数目。比如,一条折线可以将平面分成两部分,两条折线最多可以将平面分成7部分,具体如下所示。 Description 我们看到过很多直线分割平面的题目,今天的这个题目稍微有些变化,我
阅读全文
posted @ 2016-08-16 10:24
惟愿。。。
阅读(173)
推荐(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
惟愿。。。
阅读(140)
推荐(0)
摘要:
Description Summer is coming! It's time for Iahub and Iahubina to work out, as they both want to look hot at the beach. The gym where they go is a mat
阅读全文
posted @ 2016-08-15 16:36
惟愿。。。
阅读(226)
推荐(0)
摘要:
Description Two soldiers are playing a game. At the beginning first of them chooses a positive integer n and gives it to the second soldier. Then the
阅读全文
posted @ 2016-08-15 15:11
惟愿。。。
阅读(230)
推荐(0)
摘要:
Problem Description Chisa Yukizome works as a teacher in the school. She prepares many gifts, which consist of n kinds with a[i] quantities of each ki
阅读全文
posted @ 2016-08-14 18:52
惟愿。。。
阅读(344)
推荐(0)