ABC062-D

command
v0.0.0-...-23e9799 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2021 License: MIT Imports: 8 Imported by: 0

README

ABC062 D. 3N Numbers

Last Change: 2020-05-02 16:50:13.

@2020-05-02

結構手間取ったが、WAは出さずに一発でACできた。

priority queueを使うと、ある(左端固定の累積の)区間中の最も大きい(小さい)N個の数値の総和、というのがスライドしながらすべて求められる。

これもこどふぉとかでいずれお世話になりそう。 優先度付きキューの重要問題といえると思う。

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL