![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
TC
Yukar_syt
这个作者很懒,什么都没留下…
展开
-
STL
Problem Statement In The Sorting Game, you are given a sequence containing a permutation of the integers between 1 andn, inclusive. In one move, you can take any k consecutive elements of转载 2012-05-07 18:58:47 · 449 阅读 · 0 评论 -
500.IntegerPalindrome TC-srm302
Problem Statement A positive integer is called a palindrome if it reads the same forward and backward. Integers containing leading zeros are not valid. For example, 12321 is a palindrome,转载 2012-05-12 18:37:21 · 674 阅读 · 0 评论 -
the minimum value of |A - a| + |B - b| + |C - c|
Problem Statement Krolik found a sheet of paper with an equation containing three positive integers: "a *b =c". This equation might be wrong, so Krolik is trying to make it correct by adjus转载 2012-05-13 15:48:31 · 795 阅读 · 0 评论 -
SRM527 275 DP
NOTE: This problem statement contains images that may not display properly if viewed outside of the applet.You want to build a graph consisting of N nodes and N-1 edges. The graph must be connec转载 2012-05-14 19:28:07 · 624 阅读 · 0 评论 -
SRM523 div2 500 CountingSeries
Problem Statement You are given long longs a, b, c andd. The numbers a and b define an arithmetic progression that consists of all numbers of the forma + b*x, where x is a nonnegative i翻译 2012-05-20 13:26:37 · 514 阅读 · 0 评论 -
SRM 551 950
//用三种颜色围成一个圈相邻的两个不同色的所有可能#include#include#includeusing namespace std;typedef int lld;const int mod=1000000007;const int maxn=60;lld dp[maxn][maxn][maxn][3];int tot[maxn];class ColorfulCupc原创 2012-08-05 09:44:41 · 510 阅读 · 0 评论