摘要: 日常为dp贡献脑细胞 #include<iostream> #include<cmath> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; int dp[310 阅读全文
posted @ 2018-07-07 21:43 Thheoo 阅读(211) 评论(0) 推荐(0) 编辑
摘要: emm并没有什么好说的.毕竟我这个蒟蒻都能yy出来 #include<cstring> #include<cstdio> #include<iostream> #include<cmath> using namespace std; int t,fa[30010],dis[30010],num[30 阅读全文
posted @ 2018-07-07 19:30 Thheoo 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 写不来dp的日常 ....就这样吧 #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; int dp[2010][2010],v[2010];//取了i个有j个在 阅读全文
posted @ 2018-07-07 19:22 Thheoo 阅读(156) 评论(0) 推荐(0) 编辑