摘要:
树上差分的代码很简洁,dfs+差分即可 这题很多坑点啊,比如重边自环好坑 1 #include<cstdio> 2 #include<cstdlib> 3 #include<algorithm> 4 #include<cstring> 5 #include<vector> 6 #define pii 阅读全文
posted @ 2018-01-09 01:02
white_hat_hacker
阅读(1002)
评论(0)
推荐(0)
浙公网安备 33010602011771号