yliu_cs
yliu_cs
全部文章
分类
未归档(308)
归档
标签
去牛客网
登录
/
注册
yliu_cs的博客
全部文章
(共308篇)
POJ 1330 Nearest Common Ancestors(LCA)
Description: A rooted tree is a well-known data structure in computer science and engineering. An example is shown below: In the figure, each node ...
2018-09-26
0
378
HDU 5692 Snacks(dfs序+线段树)
Description: 百度科技园内有n个零食机,零食机之间通过n−1条路相互连通。每个零食机都有一个值v,表示为小度熊提供零食的价值。 由于零食被频繁的消耗和补充,零食机的价值v会时常发生变化。小度熊只能从编号为0的零食机出发,并且每个零食机至多经过一次。另外,小度熊会对某个零食机的零食有所...
2018-09-26
0
403
HDU 3555 Bomb(数位dp)
Description: The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bomb. The number sequence of the ...
2018-09-18
0
375
计蒜客 ACM-ICPC 2018 徐州赛区网络预赛 F. Features Track(unordered_map+模拟)
Description: Morgana is learning computer vision, and he likes cats, too. One day he wants to find the cat movement from a cat video. To do this, he ...
2018-09-10
0
389
计蒜客 ACM-ICPC 2018 徐州赛区网络预赛 I. Characters with Hash
Description: Mur loves hash algorithm, and he sometimes encrypt another one’s name, and call him with that encrypted value. For instance, he calls Ki...
2018-09-10
0
342
FZU 2282 Wand(错排公式)
Description: N wizards are attending a meeting. Everyone has his own magic wand. N magic wands was put in a line, numbered from 1 to n(Wand_i owned b...
2018-09-08
0
356
FZU 2273 Triangles(计算几何)
Description: This is a simple problem. Given two triangles A and B, you should determine they are intersect, contain or disjoint. (Public edge or poi...
2018-09-08
0
388
Educational Codeforces Round 50 (Rated for Div. 2)
A. Function Height Description: You are given a set of 2 n + ...
2018-09-08
0
418
Codeforces Round #508 (Div. 2)
A. Equality Description: You are given a string s s s of length ...
2018-09-08
0
317
Codeforces Round #507 (Div. 2, based on Olympiad of Metropolises)
A. Palindrome Dance Description: A group of n n n dancers rehearses...
2018-09-08
0
413
首页
上一页
6
7
8
9
10
11
12
13
14
15
下一页
末页