摘要: Floyd + 状态DPWatashi的板子#include #include #include #include using namespace std;const int INF = (int) 1e8;int dp[1= 0; S--) { for (int v = 0;... 阅读全文
posted @ 2014-04-24 02:06 Phantom01 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 只是贴代码,这种模拟题一定要好好纪念下 TAT#include #include #include using namespace std;const int MAXN = (int) 1e5+10;bool is[MAXN];int msg[MAXN];int first_in[MAXN], la... 阅读全文
posted @ 2014-04-24 01:54 Phantom01 阅读(254) 评论(0) 推荐(0) 编辑