King_Zhang
King_Zhang
全部文章
分类
ACM刷题集(1)
DP(2)
前缀和(3)
堆排序(2)
子序列(1)
字符串(1)
循环(1)
思维(1)
数论(8)
未归档(8)
枚举(2)
模拟(3)
模板(1)
模板题(1)
水题(5)
组合数学(1)
蓝桥杯(1)
计算几何(1)
队列(1)
题解(20)
归档
标签
去牛客网
登录
/
注册
KingZhang
全部文章
(共64篇)
问题 G: 极值问题
问题 G: 极值问题 题目描述 修罗王:“等了这么久,怎么攻城的魔法炮还没有响?” 邪狼满头大汗:“这魔法炮使用起来太复杂了,每次操作都需要输入验证码,首先它会产生一个正整数k,你要根据这个数输入正确的m和n两个整数才能发射。” 修罗王:“这是谁设计的炮啊,不考虑客户体验,界面友好性吗?让我来...
2020-05-06
0
441
Historical TV Remote Control(枚举)
题目描述 As Dr. Orooji is getting older, he is becoming more attached to older items and has difficulty letting go of them (he claims they have his...
2020-05-06
0
375
GCD on Blackboard(水题)(前后缀和)
题目描述 There are N integers, A1,A2,…,AN, written on the blackboard. You will choose one of them and replace it with an integer of your choice betwee...
2020-05-06
0
471
Contest2216 大中小学生联合训练赛第三十三场
两道觉得有意思的题 问题 C: Matrix Transformation 问题 J: Circles Inside a Square 问题 C: Matrix Transformation 问题 C: Matrix Transformation 题目描述 ...
2020-05-06
0
411
Contest2214_UPC第三十一场
文章目录 问题 L: Ruined Square 问题 M: Triangular Relationship 问题 L: Ruined Square 题目链接 题目描述 There is a square in the xy-plane. The coord...
2020-05-06
0
415
Contest2230 - 抗击疫情,从我做起--大中小学生联合训练赛第三十九场3-10
问题 A: 海岸线 题目描述 一个王国分成n*m个六边形区域,每个区域内是陆地或者是水。如果一条边两侧为陆地和水,则该条边成为海岸线,求这个王国海岸线的长度。 输入 第一行两个整数N,M。 以下N行每行M个字符,“.”表示水,“#”表示陆地。偶数行需要向右移半格,具体见样例。 ...
2020-05-06
0
433
堆排序
堆 堆的介绍 上面来自orz 感谢 我对堆排序的理解: 补充 堆的介绍 首先 ,堆的前提:完全二叉树,添加时就是 从最下面最左。 堆是具有以下性质的完全二叉树:每个结点的值都大于或等于其左右孩子结点的值,称为大顶堆;或者每个结点的值都小于或等于其左右孩子结点的值...
2020-05-06
0
576
组合数学(母函数)
母函数 生成函数 定义 一个小栗子 3个糖栗子 [A 找单词] 母函数 另一解法背包方案数 [E - Ignatius and the Princess III] 当然这个也可以用背包...
2020-05-06
0
774
队列与优先队列的总结
目录 队列总结 (一)队列 (二)优先队列 优先队列的优先级 补充 有关优先队列的具体详情请移步 [大佬的博客](https://blog.csdn.net/c20182030/article/details/70757660?locationNum=6&...
2020-05-06
1
592
Contest2240 - 抗击疫情,从我做起--大中小学生联合训练赛第四十九场
问题 L: Handstand 2 时间限制: 1 Sec 内存限制: 128 MB [提交] [状态] 题目描述 Given is a positive integer N.Find the number of pairs (A,B) of positive integers not grea...
2020-05-06
0
324
首页
上一页
1
2
3
4
5
6
7
下一页
末页