- 博客(2)
- 收藏
- 关注
原创 状压dp经典题 POJ 1185///洛谷P2704 [NOI2001]炮兵阵地
状压dp经典题 [NOI2001]炮兵阵地 题目链接: POJ 1185 or 洛谷P2704 #include<iostream> #include<cstdio> #include<cstring> using namespace std; const int maxn=70; //经过预处理后最多可达到的状态数,这个数可以通过打表计算 using n...
2020-04-26 14:31:56 111
原创 HDU 4507 数位dp 超详细按步题解!
一定要耐心看下去,你可以学会,博主在做这道题时,原以为不可能做的出来,但其实就是一个耐心的问题,相信自己,一定可以! 涉及知识:数位dp,模运算 思想:计数数位dp转为求和 #include<bits/stdc++.h> using namespace std; typedef long long ll; const int mod=1e9+7;//模数 const int LEN=...
2020-04-23 16:37:01 234
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人