弓长九日
弓长九日
全部文章
分类
CDQ(1)
codeforces(1)
DP(9)
SSM框架(3)
《算法竞赛进阶指南》杂谈(14)
二分(1)
分块(1)
动态规划(1)
图论(11)
基本算法(5)
字符串(6)
差分(2)
并查集(2)
思维(18)
搜索(7)
数学(16)
数据结构(17)
未归档(128)
树型结构(4)
树套数(1)
模拟(2)
爬虫(6)
系统配置记录(1)
线段树(8)
计算机网络(2)
贪心(2)
面试(3)
题解(4)
题集(45)
归档
标签
去牛客网
登录
/
注册
弓长九日的博客
全部文章
(共313篇)
[STL+输入输出挂]数据流中的算法 - 众数 51Nod - 1786
数据流统计功能上线后,为51nod提升用户体验做出了很大的贡献。但是新问题随之而来,夹克老爷还想知道在一个窗口内,访问次数最多用户(即窗口内的众数)。如果有多个众数,取用户ID最小的一个。(窗口的意思是一个固定长度的区间!) (因为数据流是实时的、在线的,所以不允许使用离线算法^_^) Inp...
2018-08-02
0
610
[线段树]Can you answer these queries? HDU - 4027
A lot of battleships of evil are arranged in a line before the battle. Our commander decides to use our secret weapon to eliminate the battleships. Ea...
2018-08-02
0
438
[线段树]Can you answer these queries? HDU - 4027
A lot of battleships of evil are arranged in a line before the battle. Our commander decides to use our secret weapon to eliminate the battleships. Ea...
2018-08-02
0
400
模拟维护多个队列 Easy的队列
1239: Easy的队列 时间限制: 2 Sec 内存限制: 128 MB 题目描述 Easy的学生的《数据结构》考试挂掉了,他求着Easy再给他一次机会,Easy出了这么一道题,如果他的学生做出来就给这个学生一次重新考试的机会,题目是这样的: 维护一个名为队列的数据结构,支持以下四种操作...
2018-07-31
0
460
模拟维护多个队列 Easy的队列
1239: Easy的队列 时间限制: 2 Sec 内存限制: 128 MB 题目描述 Easy的学生的《数据结构》考试挂掉了,他求着Easy再给他一次机会,Easy出了这么一道题,如果他的学生做出来就给这个学生一次重新考试的机会,题目是这样的: 维护一个名为队列的数据结构,支持以下四种操作...
2018-07-31
0
1356
[最大生成树 kruskal&&优先队列prim] Save your cats Aizu - 2224&& Bad Cowtractors POJ - 2377
Save your cats Aizu - 2224 Nicholas Y. Alford was a cat lover. He had a garden in a village and kept many cats in his garden. The cats were so cute t...
2018-07-27
0
471
[最大生成树 kruskal&&优先队列prim] Save your cats Aizu - 2224&& Bad Cowtractors POJ - 2377
Save your cats Aizu - 2224 Nicholas Y. Alford was a cat lover. He had a garden in a village and kept many cats in his garden. The cats were so cute t...
2018-07-27
0
394
[逆元]The Wall (medium) CodeForces - 690D2 && Sum HDU - 4704
费马小定理 题一 #include <cstdio> #include <iostream> #include <algorithm> #include <cstring> using namespace std; typedef long lon...
2018-07-24
0
411
[逆元]The Wall (medium) CodeForces - 690D2 && Sum HDU - 4704
费马小定理 题一 #include <cstdio> #include <iostream> #include <algorithm> #include <cstring> using namespace std; typedef long lon...
2018-07-24
0
436
[DFS找环]New Reform CodeForces - 659E
Berland has n cities connected by m bidirectional roads. No road connects a city to itself, and each pair of cities is connected by no more than one r...
2018-07-23
0
432
首页
上一页
23
24
25
26
27
28
29
30
31
32
下一页
末页