Stay Hungry,Stay Foolish!

摘要: C - Cards Query Problem https://atcoder.jp/contests/abc298/tasks/abc298_c 思路 在card入box的过程中, 需要两重统计: 记录box接纳card, 记录此card被box接纳。 Code https://atcoder.j 阅读全文
posted @ 2023-04-16 16:52 lightsong 阅读(22) 评论(0) 推荐(0)
摘要: B - Coloring Matrix https://atcoder.jp/contests/abc298/tasks/abc298_b 思路 判断A矩阵是否满足条件, 不符合,对A矩阵逆时针旋转, 旋转后对A矩阵继续判断, 直到满足条件,或者A矩阵复位。 Code #include <ioman 阅读全文
posted @ 2023-04-16 16:47 lightsong 阅读(38) 评论(0) 推荐(0)
千山鸟飞绝,万径人踪灭