随笔分类 - 最近公共祖先(LCA)
摘要:1 #include<iostream> 2 #include<cstdio> 3 #include<cstring> 4 #include<cstdlib> 5 #include<cmath> 6 #include<algorithm> 7 using namespace std; 8 #defi
阅读全文
摘要:1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 #define maxn 1000010 8 #define IL inline 9 IL void read(int &x) 10 { 11 x=0;int f=1;char ch=getchar(); 12 ...
阅读全文

浙公网安备 33010602011771号