long_night
long_night
全部文章
未归档
A Math Problem(1)
Beauty of Array(1)
BFS(1)
Buy Tickets(1)
CS Course(1)
Deciphering Password(1)
Dividing(1)
dp(1)
Duizi and Shunzi(1)
Heavy Transportation(1)
Hedwig's Ladder(1)
Just a Hook(1)
KMP(4)
PTA乙级题(2)
QQ帐户的申请与登陆(1)
Segment set(1)
STL全排列函数(1)
STL容器应用(1)
Subsequence(1)
三分模板题(1)
二分模板题(1)
六度分离(1)
关于堆的判断(1)
前后缀(2)
动态规划DP(5)
区间dp(4)
单调栈(1)
博弈dp(2)
后缀数组(4)
堆(1)
大数(1)
天梯赛练习(1)
奇怪的输出(2)
字典树(1)
小希的迷宫(1)
尺取(1)
并查集(2)
快速幂(1)
快速幂模板题(1)
思维(7)
思维DP(1)
打印图案(1)
找规律(4)
拓扑排序(1)
排序(1)
搜索树判断(1)
数位dp(2)
数学(2)
数据库(1)
数据结构作业(8)
数论(9)
最短路(2)
最短路算法讲解(1)
朋友圈 (1)
树形dp(3)
校赛(1)
概率dp(4)
模拟(7)
状压dp(3)
状压枚举(1)
玩转二叉链表(1)
矩阵快速幂(2)
线性筛(1)
线段树单点更新区间查询(1)
组合游戏 博弈(1)
网络流(1)
背包(2)
莫比乌斯反演(1)
计算几何(1)
贪心(1)
题解(1)
归档
标签
去牛客网
登录
/
注册
long_night的博客
全部文章
/ 未归档
(共131篇)
Random Point in Triangle(期望/随机数猜结论)
链接:https://ac.nowcoder.com/acm/contest/881/F 来源:牛客网 题目描述 Bobo has a triangle ABC with A(x1,y1),B(x2,y2)and C(x3,y3). Picking a point P uniformly i...
2019-07-19
0
1016
Equivalent Prefixes(单调栈)
链接:https://ac.nowcoder.com/acm/contest/881/A 来源:牛客网 题目描述 Two arrays u and v each with m distinct elements are called equivalent if and only if RMQ...
2019-07-19
0
808
ABBA(组合数学/dp)
链接:https://ac.nowcoder.com/acm/contest/881/E 来源:牛客网 Bobo has a string of length 2(n + m) which consists of characters `A` and `B`. The string also ...
2019-07-19
1
1352
rRiKqXHHsB
嘤嘤嘤
2019-07-18
0
545
Brackets(括号匹配,区间dp)
https://cn.vjudge.net/problem/POJ-2955 We give the following inductive definition of a “regular brackets” sequence: the empty sequence is a regula...
2019-07-17
0
824
Queries for Number of Palindromes(回文串,dp,好题)
https://cn.vjudge.net/problem/CodeForces-245H You've got a string s = s1s2... s|s| of length |s|, consisting of lowercase English letters. There also...
2019-07-17
0
588
Space Elevator(贪心+多重背包)
https://cn.vjudge.net/problem/POJ-2392 The cows are going to space! They plan to achieve orbit by building a sort of space elevator: a giant tower of...
2019-07-17
0
705
配对(贪心+dp,好题)
https://cn.vjudge.net/problem/HYSBZ-1237 你有n 个整数Ai和n 个整数Bi。你需要把它们配对,即每个Ai恰好对应一 个Bp[i]。要求所有配对的整数差的绝对值之和尽量小,但不允许两个相同的数配 对。例如A={5,6,8},B={5,7,8},则最优配对方案...
2019-07-17
0
766
Halloween Costumes(区间dp)
https://cn.vjudge.net/problem/LightOJ-1422 Gappu has a very busy weekend ahead of him. Because, next weekend is Halloween, and he is planning to atte...
2019-07-16
0
584
最少拦截系统 (最长上升子序列)
某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所有的导弹. 怎么办呢?多搞几套系统呗!你说...
2019-07-16
0
591
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页