合集-atcoder

摘要:C - 403 Forbidden 对每个用户,先判断有无所有权限,若无,再判断有无单独查看Y的权限。 过程中用set/map维护即可 点击查看代码 #include<bits/stdc++.h> #define int long long using namespace std; using pi 阅读全文
posted @ 2025-05-01 18:30 LYET 阅读(56) 评论(0) 推荐(0)
摘要:A - Is it rated? 点击查看代码 #include<bits/stdc++.h> #define int long long using namespace std; using pii=pair<int,int>; using ll=long long; const ll inf=1 阅读全文
posted @ 2025-05-10 21:55 LYET 阅读(69) 评论(0) 推荐(0)
摘要:A - Approximation 点击查看代码 #include<bits/stdc++.h> #define int long long using namespace std; using pii=pair<int,int>; using ll = long long; using ull = 阅读全文
posted @ 2025-05-26 21:39 LYET 阅读(61) 评论(0) 推荐(0)
摘要:A - G1 点击查看代码 #include<bits/stdc++.h> #define int long long using namespace std; using pii=pair<int,int>; using ll = long long; using ull = unsigned l 阅读全文
posted @ 2025-08-12 12:40 LYET 阅读(18) 评论(0) 推荐(0)
摘要:A - I'm a teapot 点击查看代码 #include<bits/stdc++.h> #define int long long using namespace std; using pii=pair<int,int>; using ll = long long; using ull = 阅读全文
posted @ 2025-08-12 22:17 LYET 阅读(26) 评论(0) 推荐(0)