Ignatius and the Princess III Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 12521 Accepted Submission(s): 8838 Problem Description "Well, it seems the first problem is too easy. I will let…
转自博客园ID:2108,老卢同志 http://www.cnblogs.com/--ZHIYUAN/p/6102893.html Ignatius and the Princess III Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 19589 Accepted Submission(s): 13709 Problem Des…
题目:给你数n,问n可以有哪些组成方案(这些n的数字个数不超过n),母函数模板题 #include <cstdio> #include <cstring> #include <algorithm> using namespace std; int n; int a[125], t[125];//a[i]表示x^i的系数,即凑成数i的方案数 int main() { while (1 == scanf("%d", &n)) { for (int…
Ignatius and the Princess III Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 16191 Accepted Submission(s): 11407 Problem Description "Well, it seems the first problem is too easy. I will let…