摘要: dfs深度优先搜索 https://www.luogu.com.cn/problem/P8662 ` include<bits/stdc++.h> using namespace std; int n; const int N=1010; char a[N][N]; int sum,ans,cnt; 阅读全文
posted @ 2024-02-04 18:00 CXfang10 阅读(24) 评论(0) 推荐(0)
摘要: ` include<bits/stdc++.h> using namespace std; int n; map<int,int>mp; int main(){ cin >> n; vectorv(n); for(int i=0;i<n;i++){ cin >> v[i]; mp[v[i]]++; 阅读全文
posted @ 2024-02-04 17:15 CXfang10 阅读(54) 评论(0) 推荐(0)