![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
单调栈
LPA20020220
Keep on fighting till the end!
展开
-
Codeforces Round #434 (Div. 1) -E Arkady and a Nobody-men
Codeforces传送门 洛谷传送门 题目描述 Arkady words in a large company. There are nn employees working in a system of a strict hierarchy. Namely, each employee, with an exception of the CEO, has exactly one immedia...原创 2018-11-17 20:58:38 · 233 阅读 · 0 评论 -
[AT2149] [ARC063 F] Snuke's Coloring 2
洛谷传送门 Atcoder传送门 题目描述 在二维笛卡尔平面上, 有一个左下角为(0,0)(0,0)(0,0), 右上角为(W,H)(W,H)(W,H), 边平行于x、yx、yx、y轴, 初始为白色的矩形, 其中有NNN个节点。 对于每个节点(xi,yi)(x_i,y_i)(xi,yi), 你需要作出一个选择: 将x≤xix\le x_ix≤xi部分的平面涂黑。 将x≥xix\...原创 2019-03-07 11:07:38 · 295 阅读 · 0 评论