【离线+单调栈】AtCoder ABC379 F. Buildings 2
摘要:
题目 https://atcoder.jp/contests/abc379/tasks/abc379_f 题意 第一行输入两个正整数 \(n, q(2 \leq n \leq 2 \times 10^5, 1 \leq q \leq 2 \times 10^5)\); 第二行输入长度为 \(n\) 阅读全文
posted @ 2025-01-18 17:40 RomanLin 阅读(60) 评论(0) 推荐(0)
浙公网安备 33010602011771号