Codeforces Round 946 (Div. 3) 题解

Codeforces Round 946 (Div. 3) 题解 A. Phone Desktop 贪心 优先考虑放 \(2\times2\) 的,然后剩下的补 \(1\times 1\) 的。注意需要上取整即可。 #include<bits/stdc++.h> using namespace st
posted @ 2024-05-28 03:04  Showball  阅读(121)  评论(0编辑  收藏  举报