連結:http://poj.org/problem?id=1733題目:DescriptionNow and then you play the following game with your friend. Your friend writes down a sequence consisting of zeroes and ones. You choose a continuous subsequence (for example the subsequence from the
連結:http://acm.hdu.edu.cn/showproblem.php?pid=3038題目:Problem DescriptionTT and FF are ... friends. Uh... very very good friends -________-bFF is a bad boy, he is always wooing TT to play the following game with him. This is a very humdrum game. To
連結:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=113&page=show_problem&problem=247原題:A factory produces products packed in square packets of the same height h and of the sizes , , , , , . These
【題目連結】http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=113&page=show_problem&problem=698【原題】John is going on a fishing trip. He has h hours available ( ), and there are n lakes in the area ( ) all
連結:http://poj.org/problem?id=1703題目:Find them, Catch themTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 22289 Accepted: 6648DescriptionThe police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO
連結:HDU: http://acm.hdu.edu.cn/showproblem.php?pid=2818POJ: http://poj.org/problem?id=1988題目:Problem DescriptionJohn are playing with blocks. There are N blocks (1 <= N <= 30000) numbered 1...N。Initially, there are N piles, and each pile
連結:http://poj.org/problem?id=1182原題:Description動物王國中有三類動物A,B,C,這三類動物的食物鏈構成了有趣的環形。A吃B, B吃C,C吃A。 現有N個動物,以1-N編號。每個動物都是A,B,C中的一種,但是我們並不知道它到底是哪一種。 有人用兩種說法對這N個動物所構成的食物鏈關係進行描述: 第一種說法是"1 X Y",表示X和Y是同類。 第二種說法是"2 X
【連結】http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=113&page=show_problem&problem=1659【原題】In bit-wise expression, mask is a common term. You can get a certain bit-pattern using mask. For example, if you
【連結】http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=114&page=show_problem&problem=1346【原題】Problem C: Longest Common SubsequenceSequence 1: Sequence 2: Given two sequences of
連結:http://poj.org/problem?id=2912題目:DescriptionN children are playing Rochambeau (scissors-rock-cloth) game with you. One of them is the judge. The rest children are divided into three groups (it is possible that some group is empty). You don’t know
【連結】http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=113&page=show_problem&problem=2070【原題】A permutation of n+1 is a bijective function of the initial n+1 natural numbers: 0, 1, ... n. A permutation p is
題目連結:UVA :http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=470POJ : http://poj.org/problem?id=2248類型: 回溯, 迭代加深搜尋, 減枝原題:An addition chain for n is an integer sequence with the
784 - Maze Exploration775841.30%232884.06%題目連結:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=105&page=show_problem&problem=725題目類型: 搜尋範例輸入:2XXXXXXXXXX X XX * XX X XXXXXXXXXXX XX XX
連結:http://poj.org/problem?id=1611題目:The SuspectsTime Limit: 1000MS Memory Limit: 20000KTotal Submissions: 15926 Accepted: 7622DescriptionSevere acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global