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)
未归档(131)
树形dp(3)
校赛(1)
概率dp(4)
模拟(7)
状压dp(3)
状压枚举(1)
玩转二叉链表(1)
矩阵快速幂(2)
线性筛(1)
线段树单点更新区间查询(1)
组合游戏 博弈(1)
网络流(1)
背包(2)
莫比乌斯反演(1)
计算几何(1)
贪心(1)
题解(1)
归档
标签
去牛客网
登录
/
注册
long_night的博客
全部文章
(共262篇)
不容易系列之(3)—— LELE的RPG难题
人称“AC女之杀手”的超级偶像LELE最近忽然玩起了深沉,这可急坏了众多“Cole”(LELE的粉丝,即"可乐"),经过多方打探,某资深Cole终于知道了原因,原来,LELE最近研究起了著名的RPG难题: 有排成一行的n个方格,用红(Red)、粉(Pink)、绿(Green)三色...
2019-03-04
0
759
分割平面,分割空间类题目总结
转自:https://www.cnblogs.com/chaosheng/archive/2012/01/26/2329583.html (1) n条直线最多分平面问题 题目大致如:n条直线,最多可以把平面分为多少个区域。 析:可能你以前就见过这题目,这充其量是一道初中...
2019-03-04
0
400
A + B Problem II
I have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. Input The first line of the input cont...
2019-03-03
0
610
Rinne Loves Edges(树形dp)
题目链接:https://ac.nowcoder.com/acm/contest/370/F 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 131072K,其他语言262144K 64bit IO Format: %lld 题目描述 Rinne 最近了解了如何快速维护可支...
2019-03-03
0
431
Schrödinger's Knapsack(贪心+DP)
题目链接:https://cn.vjudge.net/problem/ZOJ-4019 DreamGrid has a magical knapsack with a size capacity of called the Schrödinger's knapsack (or S-knapsac...
2019-03-03
0
442
垒骰子 ( 矩阵快速幂 )
赌圣atm晚年迷恋上了垒骰子,就是把骰子一个垒在另一个上边,不能歪歪扭扭,要垒成方柱体。 经过长期观察,atm 发现了稳定骰子的奥秘:有些数字的面贴着会互相排斥! 我们先来规范一下骰子:1 的对面是 4,2 的对面是 5,3 的对面是 6。 假设有 m 组互斥现象,每组中的那两个数字的面紧贴在一...
2019-03-01
0
591
Paths and Trees (Dijkstra单源最短路+边权值和最小)
Little girl Susie accidentally found her elder brother's notebook. She has many things to do, more important than solving problems, but she found thi...
2019-02-27
0
508
LOOPS (概率dp)
Akemi Homura is a Mahou Shoujo (Puella Magi/Magical Girl). Homura wants to help her friend Madoka save the world. But because of the plot of the Boss...
2019-02-26
0
509
Card Collector(概率期望+容斥原理+状压)
In your childhood, do you crazy for collecting the beautiful cards in the snacks? They said that, for example, if you collect all the 108 people in th...
2019-02-26
0
594
Seek the Name, Seek the Fame(KMP next数组)
The little cat is so famous, that many couples tramp over hill and dale to Byteland, and asked the little cat to give names to their newly-born babies...
2019-02-24
0
404
首页
上一页
6
7
8
9
10
11
12
13
14
15
下一页
末页