06 2017 档案

摘要:完全自己解决的一道DP,dp经验值++开始想了个n^2,不过后来感觉有点像多项式加法,就往DP上想意识到2的幂次跟题目关系很大就开始猜公式一开始的公式还自作聪明把2^0+2^1+2^2+……直接用1usi... 阅读全文
posted @ 2017-06-30 20:15 Drenight 阅读(125) 评论(0) 推荐(0) 编辑
摘要://#include#include#include#include#include#include#includeusing namespace std;#define ll long long#def... 阅读全文
posted @ 2017-06-05 16:26 Drenight 阅读(115) 评论(0) 推荐(0) 编辑
摘要:#includeusing namespace std;#define ll long longconst int maxn=1010;int n;double X[maxnb.v; return h>... 阅读全文
posted @ 2017-06-04 01:41 Drenight 阅读(147) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示