xuanweiace
xuanweiace
全部文章
未归档
2018暑假 第一周 训练2(1)
2018暑假 第三周 训练1(1)
2018暑假 第三周 训练2(1)
2018暑假 第五周 训练3(1)
bfs(6)
bzoj(2)
Codeforce~(25)
dfs(8)
dfs+剪枝(1)
Dijkstra算法(4)
FZU(1)
HDU(20)
HihoCoder(2)
Java(1)
KMP~(3)
luogu(1)
nyoj(1)
PAT(2)
POJ(11)
Python(1)
QDU_AP协会17级ST2(1)
SPOJ(1)
STL(3)
tarjan算法~~强连通分量(2)
tricks(2)
Trie字典树(2)
ZOJ(6)
三分(1)
二分(8)
二分图(2)
优先队列(2)
优秀模板(1)
分数规划(1)
分治(1)
创新实验室热身赛2(1)
前缀和(1)
剪枝(2)
动态规划(dp)(33)
匈牙利算法(1)
区间问题(2)
单源最短路(2)
单调栈(1)
博弈问题(3)
字符串问题(4)
尺取法(3)
差分数组(1)
并查集(2)
思维(28)
打表(2)
拓扑排序(2)
数学(4)
数论(4)
最小生成树(2)
最短路(2)
最近公共祖先(1)
树的直径(1)
模拟(9)
母函数(1)
水题纪念(45)
牛客网(14)
状态压缩(2)
皮(1)
知识点(7)
线段树(4)
背包问题(1)
蓝桥杯(2)
贪心(17)
随笔(3)
随笔啊(1)
题解(1)
归档
标签
去牛客网
登录
/
注册
xuanweiace的博客
全部文章
/ 未归档
(共607篇)
【SPOJ - TOURS 387】Travelling tours (最小费用最大流,拆点)
题干: In Hanoi, there are N beauty-spots (2 <= N <= 200), connected by M one-way streets. The length of each street does not exceed 10000. You ar...
2018-11-28
0
411
【CodeForces - 289D】Polo the Penguin and Houses (带标号的无根树,Cayley定理,Prufer编码)
题干: Little penguin Polo loves his home village. The village has n houses, indexed by integers from 1 to n. Each house has a plaque containing an inte...
2018-11-28
0
457
【CodeForces - 289C】Polo the Penguin and Strings (水题,字符串,思维构造,有坑)
题干: Little penguin Polo adores strings. But most of all he adores strings of length n. One day he wanted to find a string that meets the following c...
2018-11-28
0
437
【牛客 - 283H】图论一顿套模板(思维转化,Dijkstra)
题干: 由于临近广西大学建校90周年校庆,西大开始了喜闻乐见的校园修缮工程! 然后问题出现了,西大内部有许许多多的道路,据统计有N栋楼和M条道路(单向),每条路都有“不整洁度”W,现在校方想知道从S楼到T楼的所有路径中,“不整洁度”乘积最小是多少。 由于答案可能很大,所以你需要将最后的答案...
2018-11-26
0
473
【牛客 - 283E】贪心只能过样例(模拟)
题干: 小西是单身狗,所以她不喜欢看到有CP在秀恩爱! 有一天,小西出来闲逛,发现街上的行人都排成了一排,并且可以用这种形式表示: MMFMMFFFMMM 其中M表示男孩子,F表示女装的男孩子 小西想让所有的CP都消失! 小西可以把任意一对'MF'或者'FM‘赶走并变为一个真正...
2018-11-25
0
523
【HDU - 5187】zhx's contest (快速幂+ 快速乘,模板)
题干: 2018百度之星复赛晋级名单出炉(增加20%晋级名额)~ zhx's contest Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Othe...
2018-11-25
0
521
【CH - 1401】 兔子与兔子(字符串哈希)
题干: 描述 很久很久以前,森林里住着一群兔子。有一天,兔子们想要研究自己的 DNA 序列。我们首先选取一个好长好长的 DNA 序列(小兔子是外星生物,DNA 序列可能包含 26 个小写英文字母),然后我们每次选择两个区间,询问如果用两个区间里的 DNA 序列分别生产出来两只兔子,这两个兔子是否...
2018-11-24
0
380
【 CodeForces - 799A 】Carrot Cakes(模拟,细节,有坑)
题干: In some game by Playrix it takes t minutes for an oven to bake k carrot cakes, all cakes are ready at the same moment t minutes after they starte...
2018-11-24
0
705
【POJ - 2377】Bad Cowtractors (最大生成树,并查集)
题干: Bessie has been hired to build a cheap internet network among Farmer John's N (2 <= N <= 1,000) barns that are conveniently numbered 1..N. ...
2018-11-24
0
437
【CodeForces - 151D】Quantity of Strings (字符串问题,思维推导,有坑)
题干: Just in case somebody missed it: this winter is totally cold in Nvodsk! It is so cold that one gets funny thoughts. For example, let's say there ...
2018-11-21
0
574
首页
上一页
24
25
26
27
28
29
30
31
32
33
下一页
末页