图是弦图,$1\sim n$ 是完美消除序列,树上背包即可 $O(n^2)$。
QOJ.ac
QOJ
Discussion #1946 for Problem #18200. Alternative Accounts 2
Type: Editorial
Status: Open
Posted by: ucup-team7870
Posted at: 2026-06-16 15:18:32
Last updated: 2026-06-16 15:18:52
New Editorial for Problem #18200
Comments
No comments yet.