Codeforces
捡石子的小孩
这个作者很懒,什么都没留下…
展开
-
codeforces round#177 E
Little penguin Polo likes permutations. But most of all he likes permutations of integers from0 to n, inclusive. For permutation p = p0, p1, ..., pn, Polo has defined its beauty — number . Expres原创 2013-04-10 20:11:22 · 1050 阅读 · 0 评论 -
Round#179 diy2第二题
题意:给你两个数字串,其中可以包含'?',求将两个数字串变成不可比较的数字串有多少种方案。(不可比较当且仅当存在i,j,使得s[i]w[j])。 题意理解清楚后,就知道这题其实就是一道排列组合的题目了。 //排列组合 #include #include #include using namespace std; const int N=100005; const int M=10000000原创 2013-04-25 08:29:00 · 985 阅读 · 0 评论