摘要:
单调栈优化 阅读全文
posted @ 2018-10-12 21:50
lcan
阅读(257)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 const int maxn=1007; 7 const int INF=0x7f7f7f7f; 8 int n,ans; 9 int fa[maxn],a[maxn],dis[maxn],dep[maxn]; 10 bool cmp(int... 阅读全文
posted @ 2018-10-12 21:07
lcan
阅读(241)
评论(0)
推荐(0)

浙公网安备 33010602011771号