摘要: #include <bits/stdc++.h> using namespace std; int main() { int n, need; cin >> n >> need; vector<double> have(n); vector<double> price(n); for (int i 阅读全文
posted @ 2022-03-14 22:43 Xxaj5 阅读(21) 评论(0) 推荐(0) 编辑
摘要: #include <bits/stdc++.h> using namespace std; bool st[100010]; int main() { ios::sync_with_stdio(false); cin.tie(0); string init; int n; cin >> init > 阅读全文
posted @ 2022-03-14 22:14 Xxaj5 阅读(24) 评论(0) 推荐(0) 编辑
摘要: #include <bits/stdc++.h> using namespace std; using ll = long long; using pii = pair<int, int>; const int N = 510; int val[N]; vector<pii> g[N]; int d 阅读全文
posted @ 2022-03-14 21:28 Xxaj5 阅读(29) 评论(0) 推荐(0) 编辑