Asimple
Asimple
全部文章
分类
LeetCode(2)
未归档(188)
归档
标签
去牛客网
登录
/
注册
Asimple的博客
一个学渣的学习记录笔记
全部文章
(共72篇)
Piggy-Bank HDU - 1114
Before ACM can do anything, a budget must be prepared and the necessary financial support obtained. The main income for this action comes from Irrever...
DP
ACM
2017-08-20
0
516
Talented Chef ZOJ - 3778
As we all know, Coach Gao is a talented chef, because he is able to cook <var>M</var> dishes in the same time. Tonight he is going to h...
思维
ACM
2017-08-17
0
566
Max Sum Plus Plus HDU - 1024
Now I think you have got an AC in Ignatius.L's "Max Sum" problem. To be a brave ACMer, we always challenge ourselves to more difficult probl...
DP
ACM
2017-08-17
0
589
Let's Chat ZOJ - 3961
ACM (ACMers' Chatting Messenger) is a famous instant messaging software developed by Marjar Technology Company. To attract more users, Edward, the bos...
思维
ACM
2017-08-17
0
551
Doing Homework HDU - 1074
Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the ho...
DP
ACM
2017-08-18
0
442
Censor SCU - 4438
frog is now a editor to censor so-called sensitive words (敏感词). She has a long text (p). Her job is relatively simple -- just to find the first oc...
KMP
ACM
2017-08-20
0
484
How many zero's and how many digits ? UVA - 10061
Given a decimal integer number you will have to find out how many trailing zeros will be there in itsfactorial in a given number system and also you w...
数论
UVA
ACM
2017-08-21
0
751
Always an integer UVALive - 4119
题目很简单,就是求表达式(P/D)的结果是不是整数。其中P是一个整系数的多项式,D是一个正整数。 把1-k(最高次)+1都试一次就好了。结论可以总结归纳得到。(k取 0, 1, 2 .... 的情况推一次,可以推出结论)。 // Asimple #include <iostream&...
数论
UVA
ACM
2017-08-23
0
466
Harmonic Value Description HDU - 5916
The harmonic value of the permutation p1,p2,⋯pn is ∑i=1n−1gcd(pi.pi+1) Mr. Frog is wondering about the permutation whose harmonic value is...
思维
ACM
数论
2017-08-25
0
540
2017第十三届湖南省省赛A - Seating Arrangement CSU - 1997
Mr. Teacher老师班上一共有n个同学,编号为1到n。 在上课的时候Mr. Teacher要求同学们从左至右按1, 2, …, n的顺序坐成一排,这样每个同学的位置是固定的,谁没来上课就一目了然了。 但是时间长了之后,Mr. Teacher发现坐得离得远的同学往往因为交流很少而逐渐变得生疏了...
思维
ACM
2017-09-10
0
597
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页