摘要: 比赛链接 A 题解 知识点:数学,贪心。 考虑 $n%6$ 和 $n%4$ 的余数情况。 时间复杂度 $O(1)$ 空间复杂度 $O(1)$ 代码 #include <bits/stdc++.h> using namespace std; int main(){ std::ios::sync_wit 阅读全文
posted @ 2022-05-16 02:20 空白菌 阅读(41) 评论(0) 推荐(0)