摘要:
题意/Description: Katu Puzzle is presented as a directed graph G(V, E) with each edge e(a, b) labeled by a boolean operator op (one of AND, OR, XOR) and 阅读全文
摘要:
题意/Description: Every cow's dream is to become the most popular cow in the herd. In a herd of N (1 <= N <= 10,000) cows, you are given up to M (1 <= M 阅读全文
摘要:
题意/Description: A number of schools are connected to a computer network. Agreements have been developed among those schools: each school maintains a l 阅读全文
摘要:
题意/Description: These days, Sempr is crazed on one problem named Crazy Thair. Given N (1 ≤ N ≤ 50000) numbers, which are no more than 109, Crazy Thair 阅读全文
摘要:
题意/Description: N (2 <= N <= 8,000) cows have unique brands in the range 1..N. In a spectacular display of poor judgment, they visited the neighborhoo 阅读全文
摘要:
题意/Description: Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue… The Lunar New 阅读全文
摘要:
题意/Description: Chosen Problem Solving and Program design as an optional course, you are required to solve all kinds of problems. Here, we get a new p 阅读全文
摘要:
题意/Description: There is an apple tree outside of kaka's house. Every autumn, a lot of apples will grow in the tree. Kaka likes apple very much, so he 阅读全文