摘要: 这篇博文主要讲解《李煜东算法进阶指南》上 0x11 基础数据结构栈中的最后一道例题。 题目链接。 蓝书上讲的感觉十分晦涩,像笔者一样的蒟蒻基本看不懂。 说明一下,在这道题中,我们扫描到第 \(i\) 个矩阵时,我们不是要求第 \(i\) 个矩阵对答案的贡献。 我们扫到第 \(i\) 个矩阵要干两件事 阅读全文
posted @ 2025-08-18 13:39 Kcjhfqr 阅读(6) 评论(0) 推荐(1)
.poem-wrap { position: relative; width: 1000px; max-width: 80%; border: 2px solid #797979; border-top: none; text-align: center; margin: 40px auto; } .poem-left { left: 0; } .poem-right { right: 0; } .poem-border { position: absolute; height: 2px; width: 27%; background-color: #797979; } .poem-wrap p { width: 70%; margin: auto; line-height: 30px; color: #797979; } .poem-wrap h1 { position: relative; margin-top: -20px; display: inline-block; letter-spacing: 4px; color: #797979; font-size: 2em; margin-bottom: 20px; } #poem_sentence { font-size: 25px; } #poem_info { font-size: 15px; margin: 15px auto; }