Princess

[SP14930] FARIDA - Princess Farida

[FARIDA の 传送门](https://www.luogu.com.cn/problem/SP14930) ## Problem 给你 $n$ 个数,如果你选了第 $i$ 个数,就不能选第 $i - 1$ 个数。 求最多选的数的和。 ## Solution 考虑 DP。 设 $f_i$ 表示考 ......
Princess FARIDA Farida 14930 SP

HDU1028 Ignatius and the Princess III

## Description ![](https://s1.ax1x.com/2023/06/01/p9ztpdJ.png) 题意:给出 $n(1\le n\le 120)$,求出 $n$ 的整数划分方案数。 ## Solution 先考虑一个简单的问题:从 $1\sim n$ 的数字取出若干个数字 ......
Ignatius Princess 1028 HDU III
共2篇  :1/1页 首页上一页1下一页尾页