摘要: 算法标签 Trie字典树贪心 来源 《算法竞赛进阶指南》 题目简叙 思路 使用二叉树的结构来表示整个插入和查询过程: 代码 #include<iostream> using namespace std; const int N=1e5+10; int tree[N*31][2]; int idx,p 阅读全文
posted @ 2022-07-09 18:06 俺叫西西弗斯 阅读(0) 评论(0) 推荐(0)