码迷,mamicode.com
首页 >  
搜索关键字:perfect    ( 572个结果
Codeforces Round #460 (Div. 2) 919A. Supermarket 919B. Perfect Number 919C. Seat Arrangements
这场cf有点意思,hack场,C题等于1的特判hack很多人(我hack成功3个人,上分了,哈哈哈,咳咳。。。) D题好像是树形dp,E题好像是中国剩余定理,F题好像还是dp,具体的不清楚,最近dp的题目好多,一会滚去学dp。 写A,B,C的题解。 A. Supermarket time limit ...
分类:其他好文   时间:2018-02-01 22:06:46    阅读次数:243
PAT 1075. PAT Judge
The ranklist of PAT is generated from the status list, which shows the scores of the submittions. This time you are supposed to generate the ranklist ...
分类:其他好文   时间:2018-02-01 19:24:27    阅读次数:149
LintCode 777. Valid Perfect Square
Given a positive integer num, write a function which returns True if num is a perfect square else False. 样例 For example:Given num = 16Returns True For ...
分类:其他好文   时间:2018-01-28 21:59:03    阅读次数:195
1085. Perfect Sequence (25)
Given a sequence of positive integers and another positive integer p. The sequence is said to be a "perfect sequence" if M <= m * p where M and m are ...
分类:其他好文   时间:2018-01-17 00:07:43    阅读次数:119
【easy】367. Valid Perfect Square 判断是不是平方数
class Solution { public: bool isPerfectSquare(int num) { /* //方法一:蜜汁超时…… if (num num) right = mid - 1; else left = mid + 1; } return false; ... ...
分类:其他好文   时间:2018-01-16 00:47:53    阅读次数:148
Welcome to MarkdownPad 2
Welcome to MarkdownPad 2 MarkdownPad is a full featured Markdown editor for Windows. Built exclusively for Markdown Enjoy first class Markdown support ...
分类:其他好文   时间:2018-01-13 22:16:51    阅读次数:111
Codeforces Round #453 (Div. 1)
"Codeforces Round 453 (Div. 1)" A. Hashing Trees 题目描述 :给出一棵树的高度和每一层的节点数,问是否有两棵树都满足这个条件,若有,则输出这两棵树,否则输出 perfect solution 首先判断什么时候是 perfect :当不存在相邻两层的节点 ...
分类:其他好文   时间:2018-01-08 20:13:12    阅读次数:143
洛谷——P1894 [USACO4.2]完美的牛栏The Perfect Stall
P1894 [USACO4.2]完美的牛栏The Perfect Stall 题目描述 农夫约翰上个星期刚刚建好了他的新牛棚,他使用了最新的挤奶技术。不幸的是,由于工程问题,每个牛栏都不一样。第一个星期,农夫约翰随便地让奶牛们进入牛栏,但是问题很快地显露出来:每头奶牛都只愿意在她们喜欢的那些牛栏中产 ...
分类:其他好文   时间:2018-01-07 17:29:02    阅读次数:113
洛谷 P1894 [USACO4.2]完美的牛栏The Perfect Stall
P1894 [USACO4.2]完美的牛栏The Perfect Stall P1894 [USACO4.2]完美的牛栏The Perfect Stall P1894 [USACO4.2]完美的牛栏The Perfect Stall 题目描述 农夫约翰上个星期刚刚建好了他的新牛棚,他使用了最新的挤奶 ...
分类:其他好文   时间:2018-01-07 11:48:31    阅读次数:171
1085. Perfect Sequence (25)
Given a sequence of positive integers and another positive integer p. The sequence is said to be a "perfect sequence" if M <= m * p where M and m are ...
分类:其他好文   时间:2017-12-16 19:40:57    阅读次数:145
572条   上一页 1 ... 17 18 19 20 21 ... 58 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!