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)
未归档(607)
树的直径(1)
模拟(9)
母函数(1)
水题纪念(45)
牛客网(14)
状态压缩(2)
皮(1)
知识点(7)
线段树(4)
背包问题(1)
蓝桥杯(2)
贪心(17)
随笔(3)
随笔啊(1)
题解(1)
归档
标签
去牛客网
登录
/
注册
xuanweiace的博客
全部文章
(共943篇)
【POJ - 3177】Redundant Paths(边双连通分量,去重边)
题干: In order to get from one of the F (1 <= F <= 5,000) grazing fields (which are numbered 1..F) to another field, Bessie and the rest of the h...
2019-07-16
0
502
【CodeForces - 1152C 】Neko does Maths(数学数论,lcm,gcd性质)
题干: 给出a,b<=1e9,你要找到最小的k使得lcm(a+k,b+k)尽可能小,如果有多个k给出同样的最小公倍数,输出最小的一个k。 解题报告: 因为题目中k太多了,先化简一下公式,假设a>b ,则gcd(a+k,b+k) == gcd(a+k,a+b); 下面给出一个简单证...
2019-07-15
0
494
【HDU - 5477】A Sweet Journey(思维,水题)
题干: Master Di plans to take his girlfriend for a travel by bike. Their journey, which can be seen as a line segment of length L, is a road of swamps ...
2019-07-15
0
455
【HDU - 5475】An easy problem(线段树,思维)
题干: One day, a useless calculator was being built by Kuros. Let's assume that number X is showed on the screen of calculator. At first, X = 1. This c...
2019-07-15
0
422
【HDU - 5468】Puzzled Elena(容斥原理,dfs序,数学,素因子分解,有坑)
题干: Problem Description Since both Stefan and Damon fell in love with Elena, and it was really difficult for her to choose. Bonnie, her bes...
2019-07-15
0
339
*【ZOJ - 3703】Happy Programming Contest(带优先级的01背包)
题干: In Zhejiang University Programming Contest, a team is called "couple team" if it consists of only two students loving each other. In th...
2019-07-11
0
335
【HRBUST - 1996】数学等式 (HASH 或 二分)
题干: 又到了数学题的时刻了,给出三个数组A,B,C,然后再给出一个数X,现在我想知道是否能找到三个数满足等式A[i]+B[j]+C[k]=X,你能帮助我么?? Input 本题有多组数据,每组数据第一行输入三个数n, m, h,分别表示数组A,B,C内的的元素个数(0<n,m,h<...
2019-07-11
0
431
【HDU - 5456】Matches Puzzle Game(数位dp,思维)
题干: As an exciting puzzle game for kids and girlfriends, the Matches Puzzle Game asks the player to find the number of possible equations A−B=CA−B=C ...
2019-07-11
0
618
【POJ - 3249】Test for Job(DAG线性求带负权的最长路,dp)
题干: Mr.Dog was fired by his company. In order to support his family, he must find a new job as soon as possible. Nowadays, It's hard to have a job, s...
2019-07-11
0
434
2019ACM浪潮杯山东省赛参赛总结
emmm是要记录一下生活了呢,不然以后退役了连自己经历过什么都记不住了。 5.11周六,早上5:30分,qdu集训队一行40人(左右)集合登上大巴,前往济南大学参加ACM省赛。上车清点了一下人数,然后发车以后就睡着了,一直到临沂服务区(如果没记错的话),醒了,然后下车活动了一下又上车睡去了。再醒来...
2019-07-11
1
1462
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页