
字典树
文章平均质量分 74
ctsas
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
补几个题
补两个题A 谍报分析 我写了字典树,虽然对于这个数据范围完全没必要#include<cstdio> #include<cstring> using namespace std;struct node{ int cnt; node *ch[26]; node (){cnt=0;for(int i=0;i<26;i++) ch[i]=NULL;} }root; char str原创 2017-05-18 17:15:54 · 355 阅读 · 0 评论 -
[HDU]6059 Kanade's trio
URL : http://acm.hdu.edu.cn/showproblem.php?pid=6059题意Give you an array A[1..n],you need to calculate how many tuples (i,j,k) satisfy that (i< j< k) and ((A[i] xor A[j])<(A[j] xor A[k]))题解看了别人题解大半天,才终于原创 2017-08-03 11:58:36 · 553 阅读 · 0 评论 -
HPUACM大二周练第二周
URL :https://vjudge.net/contest/188110原创 2017-10-02 23:08:42 · 430 阅读 · 0 评论