摘要: e数组建图(树),st[i]代表i入栈时间,en[i]代表i出栈时间,ti代表时间 例题 #include<bits/stdc++.h> using namespace std; const int N=1e5+5; int n,dfsx[N],st[N],en[N],ti; vector<int> 阅读全文
posted @ 2026-10-04 19:13 Emoji-happy 阅读(2) 评论(0) 推荐(0)
摘要: 2026.9.23 开通博客... loading... #include<bits/stdc++.h> using namespace std; signed main(){ cout<<"Hello World!"<<endl; cout<<"Hello cnblogs!"<<endl; ret 阅读全文
posted @ 2026-09-23 16:25 Emoji-happy 阅读(5) 评论(0) 推荐(0)