摘要:
A - Candy Button #include <bits/stdc++.h> using namespace std; using i32 = int32_t; using i64 = long long; using vi = vector<int>; using pii = pair<in 阅读全文
posted @ 2024-10-23 20:16
PHarr
阅读(22)
评论(0)
推荐(0)
摘要:
A - x to y 可以把与操作理解为减,把或操作理解为加。先减掉多的,再加上少的。因此至多两次即可。 #include <bits/stdc++.h> using namespace std; using i32 = int32_t; using i64 = long long; using u 阅读全文
posted @ 2024-10-23 15:15
PHarr
阅读(90)
评论(0)
推荐(0)

浙公网安备 33010602011771号