摘要: 真实菜鸡,被AK打蒙了,签到都最后才找到的。 A.Maximum Element In A Stack Problem 栈操作,每次操作后求最大值。 Solution 加入时加此时堆里的最大值,要开long long。 Code #include<cstdio> #include<cstdlib> 阅读全文
posted @ 2019-08-31 19:39 CCWUCMCTS 阅读(689) 评论(0) 推荐(0) 编辑