Problem E. Sightseeing Tour 什么 K 只有 5?那么 floyd 预处理,暴力搜索即可。 https://atcoder.jp/contests/abc369/submissions/57867165 Problem F. Gather Coins 等价于 O(nlogn) LIS,注意记录决策,用递归构造方案。 https://atcoder.jp/contests/…
Problem E. Sightseeing Tour 什么 K 只有 5?那么 floyd 预处理,暴力搜索即可。 https://atcoder.jp/contests/abc369/submissions/57867165 Problem F. Gather Coins 等价于 O(nlogn) LIS,注意记录决策,用递归构造方案。 https://atcoder.jp/contests/…
讨论
登录后参与讨论
还没有评论,来说第一句吧。