摘要:
http://codeforces.com/contest/1217/problem/D D. Coloring Edges time limit per test 1 second memory limit per test 256 megabytes input standard input o 阅读全文
摘要:
Kiki likes traveling. One day she finds a magic lamp, unfortunately the genie in the lamp is not so kind. Kiki must answer a question, and then the ge 阅读全文
摘要:
Balanced Lineup(POJ - 3264) For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides 阅读全文
摘要:
Strip Alexandra has a paper strip with n numbers on it. Let's call them ai from left to right. Now Alexandra wants to split it into some pieces (possi 阅读全文
摘要:
Frequent values You are given a sequence of n integers a 1 , a 2 , ... , a n in non-decreasing order. In addition to that, you are given several queri 阅读全文