
dp
xiuya19
摸鱼型acmer
展开
-
nyoj-176 整数划分(二) dp
题目链接整数划分(二)时间限制:1000 ms | 内存限制:65535 KB难度:3描述把一个正整数m分成n个正整数的和,有多少种分法?例:把5分成3个正正数的和,有两种分法:1 1 31 2 2输入第一行是一个整数T表示共有T组测试数据(T<=50)每组测试数据都是两个正整数m,n,其中(1<=n<=m<=100),分别表示要拆分的正数和拆分的正整数的个数。输出输出...原创 2018-04-02 20:43:01 · 258 阅读 · 0 评论 -
Codeforces Round #483 (Div. 2) /Codeforces 984 ABCD
Codeforces Round #483 (Div. 2) /Codeforces 984ABCDA. GameB. MinesweeperC. Finite or not?D. XOR-pyramid原创 2018-05-16 15:45:43 · 244 阅读 · 0 评论 -
牛客网暑期ACM多校训练营(第三场)A.PACM Team 多维01背包+路径记录
Eddy was a contestant participating in ACM ICPC contests. ACM is short for Algorithm, Coding, Math. Since in the ACM contest, the most important knowledge is about algorithm, followed by coding(implementation ability), then math.原创 2018-07-27 15:08:39 · 320 阅读 · 0 评论