摘要:DescriptionA group of N people wishes to go across a river with only one boat, which can at most carry two persons. Therefore some sort of shuttle arr...
阅读全文
摘要:Description Farmer John is assigning some of his N (1 #include #include #include #include #include #include #include #include #include #include #defin...
阅读全文
摘要:Description We all love recursion! Don't we? Consider a three-parameter recursive function w(a, b, c): if a 20 or b > 20 or c > 20, then w(a, b, c) r...
阅读全文
摘要:DescriptionWFF 'N PROOF is a logic game played with dice. Each die has six faces representing some subset of the possible symbols K, A, N, C, E, p, q,...
阅读全文
摘要:Keywords SearchDescription In the modern time, Search engine came into the life of everybody like Google, Baidu, etc. Wiskey also wants to bring this...
阅读全文
摘要:Poor HanamichiProblem DescriptionHanamichi is taking part in a programming contest, and he is assigned to solve a special problem as follow: Given a r...
阅读全文
摘要:DescriptionThere are a lot of trees in an area. A peasant wants to buy a rope to surround all these trees. So at first he must know the minimal requir...
阅读全文
摘要:Ignatius and the Princess Description "Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 says. "T...
阅读全文
摘要:DescriptionThere is a special number sequence which has n+1 integers. For each number in sequence, we have two rules:● ai∈ [0,n]● ai≠ aj( i ≠ j )For s...
阅读全文
摘要:---恢复内容开始---DescriptionGiven a 3-dimension ellipsoid(椭球面)your task is to find the minimal distance between the original point (0,0,0) and points on th...
阅读全文