摘要: A Paint the Numbers "题目" 直接循环下 C Paint the Digits "题目" 比较简单 用单调队列 处理完1的 但此时涂1不一定有这么多,判断一下涂2的最小的 把涂1的大于涂2的最小的数给添加到涂2里就搞定了 然后 我是用循环模拟的$BFS$ cpp include 阅读全文
posted @ 2019-09-20 13:31 resftlmuttmotw 阅读(162) 评论(0) 推荐(0) 编辑