摘要:
Floyd + 状态DPWatashi的板子#include #include #include #include using namespace std;const int INF = (int) 1e8;int dp[1= 0; S--) { for (int v = 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... 阅读全文