摘要: DFS 不是选出三条直线再检测,而是在运行的过程中,如果遇到了没有被前面的情况,选取垂直或平行的直线。 #include <bits/stdc++.h> using namespace std; typedef pair<int, int> PII; int n; vector<PII> cows; 阅读全文
posted @ 2022-05-20 10:36 superPG 阅读(23) 评论(0) 推荐(0)