DescriptionA ring is composed of n (even number) circles as shown in diagram. Put natural numbersinto each circle separately, and the sum of numbers i...
分类:
其他好文 时间:
2015-07-31 21:34:12
阅读次数:
114
Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。每组数据的第一行是两个正整数,n k,用一个空...
分类:
其他好文 时间:
2015-07-31 20:14:53
阅读次数:
97
Watermelon Full of Water
Time Limit: 3 Seconds Memory Limit: 65536 KB
Watermelon is very popular in the hot summer. Students in ZJU-ICPC Team also love watermelon very much and they hope ...
分类:
其他好文 时间:
2015-07-25 07:12:32
阅读次数:
207
题目:DescriptionA robot has to patrol around a rectangular area which is in a form ofmxngrid (mrows andncolumns). The rows are labeled from 1 tom. The c...
分类:
其他好文 时间:
2015-07-24 22:35:22
阅读次数:
94
题目描述:Two bored soldiers are playing card war. Their card deck consists of exactlyncards, numbered from1ton,all values are different. They divide cards...
分类:
其他好文 时间:
2015-07-24 22:31:00
阅读次数:
153
题目:DescriptionTwo bored soldiers are playing card war. Their card deck consists of exactlyncards, numbered from1ton,all values are different. They div...
分类:
其他好文 时间:
2015-07-24 22:29:49
阅读次数:
161
题目:DescriptionDue to recent rains, water has pooled in various places in Farmer John's field, which is represented by a rectangle of N x M (1 2 #incl....
分类:
其他好文 时间:
2015-07-24 22:28:11
阅读次数:
183
题目:DescriptionLittle Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with capita...
分类:
其他好文 时间:
2015-07-24 22:17:25
阅读次数:
133
DescriptionLittle Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with capital l...
分类:
其他好文 时间:
2015-07-24 22:15:40
阅读次数:
124
Gu Jian Qi TanTime Limit: 2 Seconds Memory Limit: 65536 KBGu Jian Qi Tan is a very hot Chinese RPG in this summer vacation. SuSu is the most import...
分类:
其他好文 时间:
2015-07-24 20:42:53
阅读次数:
122