码迷,mamicode.com
首页 >  
搜索关键字:luck and love    ( 1708个结果
SG函数与例题
Good Luck in CET-4 Everybody! HDU - 1847 题意:n 张牌( 1 <= n <= 1000),两个人轮流取牌,只能取2的幂次张牌 (即:1,2,4,8,16...),最后抓完牌的人获胜 题解:一堆,s数组取值为 2 ^ i (0 <= i <= 11) #inc ...
分类:其他好文   时间:2019-08-18 13:40:51    阅读次数:90
hadoop开启Service Level Authorization 服务级认证-SIMPLE认证-过程中遇到的坑
背景描述: 最近在进行安全扫描的时候,说hadoop存在漏洞,Hadoop 未授权访问【原理扫描】,然后就参考官方文档及一些资料,在测试环境中进行了开启,中间就遇到了很多的坑,或者说自己没有想明白的问题,在此记录下吧,这个问题搞了2天。 环境描述: hadoop版本:2.6.2 操作步骤: 1.想要 ...
分类:其他好文   时间:2019-08-15 19:14:01    阅读次数:93
C - Ekka Dokka
Ekka and his friend Dokka decided to buy a cake. They both love cakes and that's why they want to share the cake after buying it. As the name suggeste ...
分类:其他好文   时间:2019-08-12 23:43:21    阅读次数:96
P3599 Koishi Loves Construction——构造题
题目 Task1:试判断能否构造并构造一个长度 $n$ 的 $1...n$ 的排列,满足其 $n$ 个前缀和在模 $n$ 的意义下互不相同 Task2:试判断能否构造并构造一个长度 $n$ 的 $1...n$ 的排列,满足其 $n$ 个前缀积在模 $n$ 的意义下互不相同。 分析 既然考虑原数列很难 ...
分类:其他好文   时间:2019-08-12 00:57:47    阅读次数:102
字符串常用方法总结
查询操作 1.charAt() 可传一个参数,传索引,返回指定位置的字符 eg: 2.charCodeAt() 可传一个参数,传索引,返回指定位置的字符的 Unicode 编码 3.concat(string1, string2, ..., stringX) 字符串拼接, 用于将一或多个字符串拼接起 ...
分类:其他好文   时间:2019-08-07 12:01:24    阅读次数:129
[LeetCode] 709. To Lower Case
Description Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase. Example 1: Example 2: Example ...
分类:其他好文   时间:2019-08-05 15:55:39    阅读次数:82
Apple Catching POJ - 2385
It is a little known fact that cows love apples. Farmer John has two apple trees (which are conveniently numbered 1 and 2) in his field, each full of ...
分类:移动开发   时间:2019-07-31 12:57:45    阅读次数:114
第二周的你学到了什么呢???其实学了挺多的 特重要的有这么几个吧
首先说一下“通配符”通配符记住还是很有必要的经常用的和不经常用的都要记住了!!!下面介绍下多种通配符的含义示例如下:*:匹配零个或者多个字符?:匹配任何字符~:当前用户家目录~+:当前工作的家目录~-:前一个家目录【0-9】:匹配数字范围【a-z】:字母【A-Z】:字母【love】:匹配列表中的任意一个字符【^love】:匹配列表中的所有字符以外的字符其次说下强大的编辑器之神没错就是---vim三
分类:其他好文   时间:2019-07-27 14:30:15    阅读次数:82
L - Love Triangle
As you could know there are no male planes nor female planes. However, each plane on Earth likes some other plane. There are n planes on Earth, number ...
分类:其他好文   时间:2019-07-21 21:22:55    阅读次数:146
【CodeForces - 939A】Love Triangle
Love Triangle Descriptions: 正如你所知道的,没有男性飞机也没有女性飞机。然而,地球上的每一个平面都喜欢另一个平面。地球上有n个平面,编号从1到n,编号i的平面喜欢编号fi的平面,其中1≤fi≤n且fi≠i。 我们把平面A喜欢平面B,平面B喜欢平面C,平面C喜欢平面a的情况 ...
分类:其他好文   时间:2019-07-21 18:13:58    阅读次数:89
1708条   上一页 1 ... 24 25 26 27 28 ... 171 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!