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)
打表(2)
拓扑排序(2)
数学(4)
数论(4)
最小生成树(2)
最短路(2)
最近公共祖先(1)
未归档(607)
树的直径(1)
模拟(9)
母函数(1)
水题纪念(45)
牛客网(14)
状态压缩(2)
皮(1)
知识点(7)
线段树(4)
背包问题(1)
蓝桥杯(2)
贪心(17)
随笔(3)
随笔啊(1)
题解(1)
归档
标签
去牛客网
登录
/
注册
xuanweiace的博客
全部文章
/ 思维
(共28篇)
【HDU - 5882】Balanced Game (找规律,思维)
题干: Rock-paper-scissors is a zero-sum hand game usually played between two people, in which each player simultaneously forms one of three shapes with...
2019-07-06
0
581
【LightOJ - 1123】Trail Maintenance(在线维护最小生成树,删边思维)
题干: Tigers in the Sunderbans wish to travel freely among the N fields (numbered from 1 to N), even though they are separated by trees. The tigers wis...
2019-05-03
0
576
【ZOJ - 4033】CONTINUE...? (思维,整体思想,分组思想)
题干: DreamGrid has classmates numbered from to . Some of them are boys and the others are girls. Each classmate has some gems, and more specifically...
2019-04-27
0
615
【ZOJ - 3872】Beauty of Array(思维,计算贡献,枚举)
题干: Edward has an array A with N integers. He defines the beauty of an array as the summation of all distinct integers in the array. Now Edward wants...
2019-04-23
0
441
【HDU - 6119】小小粉丝度度熊 (区间合并,尺取,思维)
题干: 度度熊喜欢着喵哈哈村的大明星——星星小姐。 为什么度度熊会喜欢星星小姐呢? 首先星星小姐笑起来非常动人,其次星星小姐唱歌也非常好听。 但这都不是最重要的,最重要的是,星星小姐拍的一手好代码! 于是度度熊关注了星星小姐的贴吧。 一开始度度熊决定每天都在星星小姐的贴吧里面签...
2019-04-08
0
631
【ZOJ - 3212 】K-Nice (构造)
题干: This is a super simple problem. The description is simple, the solution is simple. If you believe so, just read it on. Or if you don't, just pret...
2019-03-08
0
470
【Hihocoder - offer编程练习赛39 - D】前缀后缀查询(后缀字典树,哈希,思维)
题干: 时间限制:10000ms 单点时限:1000ms 内存限制:512MB 描述 给定一个包含N个单词的字典:{W1, W2, W3, ... WN},其中第i个单词Wi有具有一个权值Vi。 现在小Hi要进行M次查询,每次查询包含一个前缀字符串Pi和一个后缀字符串Si。他希望知道...
2019-03-01
0
741
【CodeForces - 1102C 】Doors Breaking and Repairing (思维,简单博弈)
题干: You are policeman and you are playing a game with Slavik. The game is turn-based and each turn consists of two phases. During the first phase you...
2019-02-19
0
435
【CodeForces - 988C 】Equal Sums (思维,STLmap,STLset,tricks)
题干: You are given kk sequences of integers. The length of the ii-th sequence equals to nini. You have to choose exactly two sequences ii and jj (i≠j...
2019-02-16
0
742
【CodeForces - 471C】MUH and House of Cards (思维,找规律)
题干: Polar bears Menshykov and Uslada from the zoo of St. Petersburg and elephant Horace from the zoo of Kiev decided to build a house of cards. For t...
2019-01-21
0
847
首页
上一页
1
2
3
下一页
末页