摘要: 原题链接 考察:模拟,贪心 思路: 万恶的模拟+离线处理题. 对于相邻的0之间的数字,最大的放在stack里,其次在队列,最后在双端队列. 要注意的是可能末尾没有0 ##Code #include <iostream> #include <cstring> #include <stack> #inc 阅读全文
posted @ 2021-08-10 12:30 acmloser 阅读(32) 评论(0) 推荐(0) 编辑