Branched Evolution

2021-01-03

中国人郵便配達問題

最適化 グラフ

概要

重み付き無向グラフで、すべての辺を通る閉路のうち最短経路の距離を求める。

Read more

f_jhr 2021-01-03 06:46

中国人郵便配達問題
Tweet
Remove all ads
Write a comment
  • Read more
2021-01-03

ABC 187 F - Close Group

bit全探索 グラフ

概要

無向グラフについて、頂点を共有しない完全部分グラフの最小個数を求める。

Read more

f_jhr 2021-01-03 03:37

ABC 187 F - Close Group
Tweet
Remove all ads
Write a comment
  • Read more
2021-01-03

ABC 187 E - Through Path

グラフ 木 累積和

概要

各頂点に整数が書かれた木に対して、クエリを処理していく。各クエリでは辺$(a,b)$と整数$x$が与えられ、$a$から$b$を通らずに到達できるすべての頂点に$x$を足し、最終的に各頂点に書かれた整数を答える。

Read more

f_jhr 2021-01-03 02:54

ABC 187 E - Through Path
Tweet
Remove all ads
Write a comment
  • Read more
2020-12-20

ABC 186 F - Rook on Grid

グリッド Fenwick木

概要

障害物の置かれたグリッド上で飛車が2回で移動できる範囲を求める。

Read more

f_jhr 2020-12-20 07:59

ABC 186 F - Rook on Grid
Tweet
Remove all ads
Write a comment
  • Read more
2020-12-06

ARC 110 C - Exoswap

概要

$1, \ldots, n$ を並び替えた数列を、隣同士の入れ替えを適当な順番でちょうど1回ずつ行ってもとに戻すことが可能か判定する。

Read more

f_jhr 2020-12-06 05:12

ARC 110 C - Exoswap
Tweet
Remove all ads
Write a comment
  • Read more
Next page
プロフィール
id:f_jhr id:f_jhr
follow @f_jhr
検索
タグ
  • DP (4)
  • Python (27)
  • 最適化 (2)
  • グラフ (6)
  • アルゴリズム (28)
  • 二分探索 (1)
  • 木 (2)
  • 整数論 (3)
  • 数え上げ (1)
  • Fenwick木 (2)
  • bit全探索 (3)
  • 累積和 (3)
  • グリッド (2)
  • 確率論 (4)
  • Spring Boot (2)
  • Kotlin (2)
  • 関数解析 (3)
  • 集合と位相 (3)
  • slack (1)
  • GAS (1)
  • 雑談 (1)
  • tex (1)
アーカイブ
Branched Evolution Branched Evolution

Powered by Hatena Blog | ブログを報告する

Star added

Quote saved.

Login to quote this blog

Failed to save quote. Please try again later.

You cannot quote because this article is private.

Subscribed unsubscribe Subscribe Subscribe