Skip to content

回滚莫队算法模板 #2

Description

@GoBigorGoHome

首要的问题:给回滚莫队写一个模板值不值得(适不适合)?

注意事项:对于左右两端在同一块里的询问采用暴力方法处理是必要的,不是为了减小常数。

两种写法可供参考:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions