連結:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=989題目: Problem B: Audiophobia Consider yourself lucky! Consider yourself lucky to be still breathing and having fun
539 - The Settlers of Catan376154.91%177393.06%題目連結:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=108&page=show_problem&problem=480題目類型: 回溯法原題:Within Settlers of Catan, the 1995 German game of the year,
連結:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=1040題目:Problem DThe Tourist GuideInput: standard inputOutput: standard output Mr. G. works as a tourist guide. His current
連結:http://poj.org/problem?id=1094題目:Sorting It All OutTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 21532 Accepted: 7403DescriptionAn ascending sorted sequence of distinct values is one in which some form of a less-than operator is used
連結:HDU : http://acm.hdu.edu.cn/showproblem.php?pid=2489POJ : http://poj.org/problem?id=3925題目:Problem DescriptionFor a tree, which nodes and edges are all weighted, the ratio of it is calculated according to the following equation.Given a complete
連結:http://acm.hdu.edu.cn/showproblem.php?pid=1198題目:Problem DescriptionBenny has a spacious farm land to irrigate. The farm land is a rectangle, and is divided into a lot of samll squares. Water pipes are placed in these squares. Different square
Largest Rectangle in a HistogramTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4087 Accepted Submission(s): 1218Problem DescriptionA histogram is a polygon composed of a sequence of
連結:http://acm.hdu.edu.cn/showproblem.php?pid=3367題目:Problem DescriptionIn graph theory, a pseudoforest is an undirected graph in which every connected component has at most one cycle. The maximal pseudoforests of G are the pseudoforest subgraphs of
題目連結:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=108&page=show_problem&problem=103題目類型: 回溯原題: The Sultan of Nubia has no children, so she has decided that the country will be split into up
639 - Don't Get Rooked391859.67%199790.59%題目連結:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=108&page=show_problem&problem=580題目類型: 暴力, 回溯法題目:In chess, the rook is a piece that can move any number of
連結:http://acm.hdu.edu.cn/showproblem.php?pid=3938題目:Problem DescriptionZLGG found a magic theory that the bigger banana the bigger banana peel .This important theory can help him make a portal in our universal. Unfortunately, making a pair of