摘要: P1352 题目的dfs函数与骑士🔗类似,所以去写了下 代码: #include<bits/stdc++.h> using namespace std; const int N = 6e4 + 7; int f[N][2], a[N], in[N]; int head[N], tot; struc 阅读全文
posted @ 2022-11-21 09:01 feuerwerk 阅读(24) 评论(0) 推荐(0)