摘要:
接下来贴一个模板题,但是这个题目的图有点难建 C - Dining POJ - 3281 Cows are such finicky eaters. Each cow has a preference for certain foods and drinks, and she will consum 阅读全文
摘要:
这个我是看了一个博客,还比较好理解 http://www.cnblogs.com/fzl194/p/8855101.html 我就理解了一下代码 然后试着写了一些一个模板题 A - Drainage Ditches Every time it rains on Farmer John's field 阅读全文
摘要:
Altruistic Amphibians Description A set of frogs have accidentally fallen to the bottom of a large pit. Their only means of escaping the pit is to jum 阅读全文
摘要:
D. Fun with Integers You are given a positive integer nn greater or equal to 22. For every pair of integers aa and bb (2≤|a|,|b|≤n2≤|a|,|b|≤n), you ca 阅读全文
摘要:
C. King's Path The black king is standing on a chess field consisting of 109 rows and 109 columns. We will consider the rows of the field numbered wit 阅读全文
摘要:
一个题目是拓扑排序,这个昨天写了,然后就是这个bfs C. Ice Cave You play a computer game. Your character stands on some level of a multilevel ice cave. In order to move on for 阅读全文