摘要:
简单DP,感觉就是最长上升子序列的变形#include#include#include#include#include#include#include#includeusing namespace std;const int maxn=1000+10;struct X{ int St,En,E... 阅读全文
摘要:
好难想到... ... 状态压缩DP,写的较搓#include#include#include#include#include#include#include#includeusing namespace std;const int maxn=15;string CMP[40000];struct ... 阅读全文
摘要:
简单DP,最长上升子序列。先对W排序,然后对S做做LIS#include#include#include#include#include#includeusing namespace std;const int maxn=10000+10;struct X{ int w,s; int i... 阅读全文