会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hhh22
博客园
首页
新随笔
联系
订阅
管理
01 2023 档案
good-problems 12
摘要:1.D. Fixed Prefix Permutations 题解 对于每个排列p,能得到答案最大值等价于排列p与所有q能匹配的最长前缀. 对于前缀问题可以使用字典树(Trie)解决 点击查看代码 #include <bits/stdc++.h> #define int long long #def
阅读全文
posted @
2023-01-25 10:18
I_N_V
阅读(18)
评论(0)
推荐(0)
公告