会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Assassin_poi君
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
32
下一页
2018年7月16日
HDU - 5090 Game with Pearls (最大流)
摘要: Tom and Jerry are playing a game with tubes and pearls. The rule of the game is:1) Tom and Jerry come up together with a number K.2) T...
阅读全文
posted @ 2018-07-16 20:17 Assassin_poi君
阅读(126)
评论(0)
推荐(0)
2018年7月15日
HDU - 6191 Query on A Tree (01字典树+DFS序+启发式合并)
摘要: Monkey A lives on a tree, he always plays on this tree. One day, monkey A learned about one of the bit-operations, xor. He was keen...
阅读全文
posted @ 2018-07-15 21:05 Assassin_poi君
阅读(217)
评论(0)
推荐(0)
01字典树模板
摘要: typedef struct Node* node;struct Node{ int val; int num; node Next[2]; Node() { val = num = 0; memset(Next,NULL,sizeof(Next)); }};vo...
阅读全文
posted @ 2018-07-15 15:26 Assassin_poi君
阅读(143)
评论(0)
推荐(0)
HDU - 5536 Chip Factory (01字典树)
摘要: John is a manager of a CPU chip factory, the factory produces lots of chips everyday. To manage large amounts of products, every proce...
阅读全文
posted @ 2018-07-15 15:22 Assassin_poi君
阅读(144)
评论(0)
推荐(0)
HDU - 4825 Xor Sum (01字典树入门经典题)
摘要: Zeus 和 Prometheus 做了一个游戏,Prometheus 给 Zeus 一个集合,集合中包含了N个正整数,随后 Prometheus 将向 Zeus 发起M次询问,每次询问中包含一个正整数 S ,之后 Zeus 需要在集合当中找出一个正整数 K ,使...
阅读全文
posted @ 2018-07-15 12:20 Assassin_poi君
阅读(164)
评论(0)
推荐(0)
HDU - 1251 统计难题
摘要: Ignatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀). Input 输入数据的第一部分是一张单词表,每行一个...
阅读全文
posted @ 2018-07-15 11:24 Assassin_poi君
阅读(112)
评论(0)
推荐(0)
HihoCoder - 1014 Trie树 (字典树入门)
摘要: 题目:点击打开链接代码:#include #include #include #include #include using namespace std;char s[15];typedef struct Node* node;struct Node{ int Num...
阅读全文
posted @ 2018-07-15 11:20 Assassin_poi君
阅读(134)
评论(0)
推荐(0)
基础字典树模板
摘要: char s[MAXN];typedef struct Node* node;struct Node{ int Num;//常见的是存数,具体的根据题更改 node Next[26]; Node() { Num = 0; memset(Next,NULL,siz...
阅读全文
posted @ 2018-07-15 10:32 Assassin_poi君
阅读(108)
评论(0)
推荐(0)
C语言sscanf函数的总结
摘要: 转载自:大佬传送门/******************************************************* Name : sscanf.c ** Author : gzshun** Version : 1....
阅读全文
posted @ 2018-07-15 10:20 Assassin_poi君
阅读(1148)
评论(0)
推荐(0)
POJ - 2503 Babelfish
摘要: You have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language....
阅读全文
posted @ 2018-07-15 10:11 Assassin_poi君
阅读(135)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
32
下一页
公告