摘要: 鱼和熊掌 思路:暴力判断一个物品被哪些人拥有,最后直接遍历查询交集即可 //鱼和熊掌 #include<bits/stdc++.h> using namespace std; constexpr int N = 1E5+10; vector<int> v[N]; int flag[N]; int n 阅读全文
posted @ 2024-10-09 22:08 potatoJun 阅读(21) 评论(0) 推荐(0)