swtr专题

P5858 「SWTR-03」Golden Sword(线性dp)

「SWTR-03」Golden Sword - 洛谷https://www.luogu.com.cn/problem/P5858 #include <iostream>#include <cstring>#include <string>#include <vector>#include <algorithm>using namespace std;const int MAXN=1e