- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 Arch0n's interesting game
题目链接 水题 本来想再想有没有必要写。发现还是有点必要写的。主要是这个和我以前写的一个二分第K大有点相似。搞得我刚刚看到这个就直接想着二分第K大去了。 (lll¬ω¬)题目描述: 链接:https://www.nowcoder.com/acm/contest/107/C 来源:牛客网Arch0n老师is a rich man, 他靠自己的才华和智商年纪轻轻就赚了不少钱。为了训练...
2018-04-25 22:53:24 234
转载 Showstopper
题目链接 思维题 参考感谢大神博客 描述: Data-mining huge data sets can be a painful and long lasting process if we are not aware of tiny patterns existing within those data sets.One reputable company has recently ...
2018-04-23 21:20:57 312
原创 Goldbach
题目链接 Miller_Rabin模板题Description:Goldbach’s conjecture is one of the oldest and best-known unsolved problems in number theory and all of mathematics. It states:Every even integer greater than 2 ...
2018-04-23 19:03:36 192
原创 Copy and Submit II
题目链接 简单题 Description:Input: Input consists of several test cases. Each test case begins with an integer n. Then it’s followed by n integers a[i]. 0Output:Maybe you can just copy and submit...
2018-04-23 15:33:56 219
原创 Reversion Count
题目链接 大数模板题 Description: There is a positive integer X, X’s reversion count is Y. For example, X=123, Y=321; X=1234, Y=4321. Z=(X-Y)/9, Judge if Z is made up of only one number(0,1,2…9), like Z=11,Z...
2018-04-23 15:09:39 188
原创 jsk1227
Nise-Anti-AK Problem签到题, Description: Peppa has been learning math recently, he is trapped by a easy problem. He is given a sequence of n numbers, what he need to do is finding the number ai which...
2018-04-23 14:46:19 194
原创 poj1759
POJ1759 题意 简单题 有一个花环,旁边挂灯泡,总共n个灯泡,第Hi个灯泡的高度是H(i+1) 和 H(i-1)高度的平均值减1. H1 = A Hi = (H i-1 + H i+1)/2 - 1, for all 1 < i < N HN = B Hi >= 0, for all 1 <= i <= N 现在给出总共灯泡的个数n,以及...
2018-04-20 20:30:44 330
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人