web analytics

Luogu T14562可耻 瞎搞

题目链接:https://www.luogu.org/problemnew/show/T14562

分析:

贪心取最大值.但是这个最大值不能在最后.所以
我们用堆来维护最大值.用链表来实现找后面的值.

链表处理需要注意一下.

One Trackback

  1. By hookahbasics on 五月 26, 2018 at 10:22 下午

    hookahbasics

    nike roshe run boots womens,air jordan 1 og top 3,nike air max command gs damskie,blue white womens nike vapormax shoes,nike free 3.0 neon,nike air max bw silver blue

Post a Comment

You must be logged in to post a comment.