Skip to content

Commit 0f546d1

Browse files
問題例追加
1 parent 9f3e384 commit 0f546d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

_posts/2025-02-24-merge-process-tree.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: マージ過程を表す木
33
date: 2025-3-4 11:36:00 0900
4+
last_modified_at: 2025-7-13 16:10:00 0900
45
categories: [競技プログラミング]
56
tags: [木,グラフ,AtCoder,yukicoder,Codeforces]
67
math : true
@@ -343,6 +344,9 @@ int main() {
343344
トップダウンに和を取る
344345
<iframe class="hatenablogcard" style="width:100%;height:155px;max-width:680px" src="https://hatenablog-parts.com/embed?url=https://atcoder.jp/contests/code-thanks-festival-2017/tasks/code_thanks_festival_2017_h" width="300" height="150" frameborder="0" scrolling="no"></iframe>
345346
LCAを使う
347+
<iframe class="hatenablogcard" style="width:100%;height:155px;max-width:680px" src="https://hatenablog-parts.com/embed?url=https://atcoder.jp/contests/abc372/tasks/abc372_e" width="300" height="150" frameborder="0" scrolling="no"></iframe>
348+
$K$についての制約を除いた問題が、マージ過程を表す木を考えることにより部分木についてのクエリに帰着できる。[解説](https://atcoder.jp/contests/abc372/editorial/10968)を参照せよ。
349+
346350
## 参考
347351
348352
<iframe

0 commit comments

Comments
 (0)