摘要: "传送门" 普通数位dp 代码: c++ include include include include include using namespace std; void read(int &x) { char ch; bool ok; for(ok=0,ch=getchar(); !isdigi 阅读全文
posted @ 2019-03-11 20:03 蒟蒻--lichenxi 阅读(91) 评论(0) 推荐(0) 编辑
摘要: "传送门" 状压dp 考虑某些店可以不走,所以做的时候记个前缀min就好了 代码: c++ include include include include using namespace std; void read(int &x) { char ch; bool ok; for(ok=0,ch=g 阅读全文
posted @ 2019-03-11 17:36 蒟蒻--lichenxi 阅读(120) 评论(0) 推荐(0) 编辑