排序:
默认
按更新时间
按访问量

HDU 3951 Coin Game

Description: After hh has learned how to play Nim game, he begins to try another coin game which seems much easier. The game goes like this: Two pla...

2018-10-14 18:13:03

阅读数:15

评论数:0

Codeforces Round #515 (Div. 3)

文章地址:http://henuly.top/?p=917 A. Vova and Train Description: Vova plans to go to the conference by train. Initially, the train is at the point 111 an...

2018-10-13 00:43:18

阅读数:43

评论数:0

HDU 2222 Keywords Search(AC自动机)

文章地址:http://henuly.top/?p=914 Description: In the modern time, Search engine came into the life of everybody like Google, Baidu, etc. Wiskey also wan...

2018-10-10 22:47:46

阅读数:30

评论数:0

洛谷 P3808 【模板】AC自动机(简单版)

文章地址:http://henuly.top/?p=912 Description: 给定n个模式串和1个文本串,求有多少个模式串在文本串里出现过。 Input: 第一行一个n,表示模式串个数; 下面n行每行一个模式串; 下面一行一个文本串。 Output 一个数表示答案 Sample Input...

2018-10-10 22:35:48

阅读数:29

评论数:0

HDU 1890 Robotic Sort(Splay)

文章地址:http://henuly.top/?p=905 Description: Somewhere deep in the Czech Technical University buildings, there are laboratories for examining mechanica...

2018-10-10 00:59:27

阅读数:29

评论数:0

洛谷 P3165 [CQOI2014]排序机械臂(Splay)

文章地址:http://henuly.top/?p=902 Description: 为了把工厂中高低不等的物品按从低到高排好序,工程师发明了一种排序机械臂。它遵循一个简单的排序规则,第一次操作找到高度最低的物品的位置 P1P_1P1​ ,并把左起第一个物品至 P1P_1P1​ 间的物品 (即区间...

2018-10-10 00:53:18

阅读数:31

评论数:0

牛客网暑期ACM多校训练营(第三场) C Shuffle Cards(Splay)

文章地址:http://henuly.top/?p=899 Description: Eddy likes to play cards game since there are always lots of randomness in the game. For most of the cards...

2018-10-08 17:53:56

阅读数:37

评论数:0

洛谷 P3391 【模板】文艺平衡树(Splay)

文章地址:http://henuly.top/?p=897 Description: 您需要写一种数据结构(可参考题目标题),来维护一个有序数列,其中需要提供以下操作:翻转一个区间,例如原有序序列是5 4 3 2 1,翻转区间是[2,4]的话,结果是5 2 3 4 1 Input: 第一行为n,m...

2018-10-07 22:32:48

阅读数:33

评论数:0

Codeforces Round #514 (Div. 2)

文章地址:http://henuly.top/?p=894 A. Cashier Description: Vasya has recently got a job as a cashier at a local store. His day at work is LLL minutes long...

2018-10-06 14:25:03

阅读数:64

评论数:0

nyoj 1367 ZZNUOJ 2109 物流配送(最小费用最大流)

文章地址:http://henuly.top/?p=892 Description: 物流配送是物流活动中一种非单一的业务形式,它与物品流动、资金流动紧密结合。备货是配送的准备工作或基础工作,备货工作包括筹集货源、订货或购货、集货、进货及有关的质量检查、结算、交接等。配送的优势之一,就是可以集中用...

2018-10-05 21:47:41

阅读数:55

评论数:0

计蒜客 ACM-ICPC 2018 沈阳赛区网络预赛 D. Made In Heaven(A*算法第K短路)

文章地址:http://henuly.top/?p=888 Description: One day in the jail, F·F invites Jolyne Kujo (JOJO in brief) to play tennis with her. However, Pucci the f...

2018-10-03 17:15:55

阅读数:71

评论数:0

HDU 1686 Oulipo(KMP)

Description: The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter ‘e’. He was a member of the Oulipo gro...

2018-10-03 14:59:52

阅读数:79

评论数:0

hihoCoder 1828 Saving Tang Monk II(去重bfs)

文章地址:http://henuly.top/?p=884 Description: 《Journey to the West》(also 《Monkey》) is one of the Four Great Classical Novels of Chinese literature. It w...

2018-09-26 23:47:32

阅读数:102

评论数:0

CodeForces 55D Beautiful numbers(数位dp)

文章地址:http://henuly.top/?p=882 Description: Volodya is an odd boy and his taste is strange as well. It seems to him that a positive integer number is ...

2018-09-26 23:34:58

阅读数:92

评论数:0

POJ 1330 Nearest Common Ancestors(LCA)

文章地址:http://henuly.top/?p=880 Description: A rooted tree is a well-known data structure in computer science and engineering. An example is shown belo...

2018-09-26 23:12:51

阅读数:90

评论数:0

HDU 5692 Snacks(dfs序+线段树)

文章地址:http://henuly.top/?p=878 Description: 百度科技园内有n个零食机,零食机之间通过n−1条路相互连通。每个零食机都有一个值v,表示为小度熊提供零食的价值。 由于零食被频繁的消耗和补充,零食机的价值v会时常发生变化。小度熊只能从编号为0的零食机出发,并且每...

2018-09-26 23:02:04

阅读数:88

评论数:0

HDU 3555 Bomb(数位dp)

文章地址:http://henuly.top/?p=875 Description: The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bom...

2018-09-18 10:43:15

阅读数:135

评论数:0

计蒜客 ACM-ICPC 2018 徐州赛区网络预赛 F. Features Track(unordered_map+模拟)

文章地址:http://henuly.top/?p=869 Description: Morgana is learning computer vision, and he likes cats, too. One day he wants to find the cat movement f...

2018-09-10 21:30:23

阅读数:194

评论数:0

计蒜客 ACM-ICPC 2018 徐州赛区网络预赛 I. Characters with Hash

文章地址:http://henuly.top/?p=864 Description: Mur loves hash algorithm, and he sometimes encrypt another one’s name, and call him with that encrypted ...

2018-09-10 21:12:02

阅读数:179

评论数:0

FZU 2282 Wand(错排公式)

文章地址:http://henuly.top/?p=862 Description: N wizards are attending a meeting. Everyone has his own magic wand. N magic wands was put in a line, num...

2018-09-08 10:53:28

阅读数:188

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭