nuoyanli
nuoyanli
全部文章
分类
DP(5)
Java(4)
java->acm(2)
markdown(1)
python(15)
STL(1)
ubuntu(5)
Vim(2)
做题心得(47)
反思(6)
字符串(1)
并查集(2)
思路(2)
搜索(7)
数学(3)
数据离散化(1)
数据结构(1)
最短路(1)
月赛(1)
未归档(111)
蓝桥杯(2)
虚拟机(1)
题解(1)
web(1)
归档
标签
去牛客网
登录
/
注册
nuoyanli的博客
等我拿到银牌,做我女朋友好不好!
全部文章
(共223篇)
A. Reverse a Substring Educational Codeforces Round 63 (Rated for Div. 2)(简单题)
题意: 给定一个字符串,若能翻转某段子串使得字典序变小输出YES否则NO 思路:找有没有非严格递增的串,找到就直接输出 参考代码: #include<cstdio> #include<cstring> #include<algorithm> #includ...
2019-04-23
0
310
D. Beautiful Array Educational Codeforces Round 63 (Rated for Div. 2)(DP)
题目来源: https://codeforces.com/contest/1155/problem/D 题意: 给你一个数组和一个数字x,求当前数组最大子串和(可以乘x或者不乘) 思路:(借用大佬的语言描述) DP[i][3]: 定义乘x的区间叫做"大"区间 dp[i]...
DP
2019-04-23
0
469
士兵杀敌(三)RMQ板子
题目来源: http://nyoj.top/web/contest/problem/cid/3/num/C 题目描述: 南将军统率着N个士兵,士兵分别编号为1~N,南将军经常爱拿某一段编号内杀敌数最高的人与杀敌数最低的人进行比较,计算出两个人的杀敌数差值,用这种方法一方面能鼓舞杀敌数高的人,另...
2019-04-22
0
452
F - Skycity ZOJ - 3733 (简单数学+二分check)
题目来源: https://vjudge.net/contest/296454#problem/F http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3733 The world's new tallest buildin...
2019-04-20
0
332
CodeForces - 668B Little Artem and Dance 模拟水题
题目来源: https://cn.vjudge.net/contest/296029#problem/J https://codeforces.com/contest/668/problem/B Description Little Artem is fond of dancing. Mos...
2019-04-18
0
386
codeforces-1154E Two Teams(链表实现||线段树+路径压缩||set+并查集)
题目来源: https://codeforces.com/contest/1154/problem/E 代码来自:fzchen.top There are nn students standing in a row. Two coaches are forming two teams — th...
2019-04-17
0
431
HDU - 5546
题目来源: http://acm.hdu.edu.cn/showproblem.php?pid=5546 Yu Zhou likes to play Go with Su Lu. From the historical research, we found that there are much...
dfs
2019-04-16
0
371
HDU1385Minimum Transport Cost(Flody+bfs路径输出)
题目来源:http://acm.hdu.edu.cn/showproblem.php?pid=1385 Problem Description These are N cities in Spring country. Between each pair of cities there may ...
bfs+Floyd
2019-04-16
0
322
POJ1703 Find them, Catch them(关系并查集)
题目来源:http://poj.org/problem?id=1703 Description The police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TW...
并查集
2019-04-15
0
302
E - IGNB HDU - 1242(简单bfs)
题目来源: https://vjudge.net/contest/292780#problem/E http://acm.hdu.edu.cn/showproblem.php?pid=1242 Angel was caught by the MOLIGPY! He was put in pri...
2019-04-10
0
335
首页
上一页
5
6
7
8
9
10
11
12
13
14
下一页
末页