码迷,mamicode.com
首页 >  
搜索关键字:ugly number    ( 27156个结果
Edit Distance leetcode java
题目:Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You ha....
分类:编程语言   时间:2014-08-07 05:11:48    阅读次数:258
Distinct Subsequences leetcode java
题目:Given a string S and a string T, count the number of distinct subsequences of T in S.A subsequence of a string is a new string which is formed fro....
分类:编程语言   时间:2014-08-07 03:02:58    阅读次数:240
Max Points on a Line leetcode java
题目:Given n points on a 2D plane, find the maximum number of points that lie on the same straight line.题解:这道题就是给你一个2D平面,然后给你的数据结构是由横纵坐标表示的点,然后看哪条直线上的点....
分类:编程语言   时间:2014-08-07 02:58:38    阅读次数:212
[LeetCode 题解]: Reverse Nodes in K-Groups
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o...
分类:其他好文   时间:2014-08-07 00:37:17    阅读次数:187
H3C交换机配置策略路由
153网段配置到tfs服务器策略路由1、创建Acl访控列表(客户端到服务器)aclnumber31rule0permitipsource172.20.153.00.0.0.255 destination172.20.20.6502、创建Acl访控列表(服务器到客户端,此策略只需创建一个acl集,不同网段只需添加不同策略条目即可)aclnumber3002rule1pe..
分类:其他好文   时间:2014-08-06 19:31:32    阅读次数:204
hdu 1781 Friend
题意是,1,2是Friend number, 其他的Friend number必须由两个Friend number   a,b由ab+a+b组成。。 ab+a+b=(a+1)(b+1)-1, 而a,b也是Friend number,就这样推下去最终会得到friend number=((1+1)^x)*((1+2)^y)-1; #include #include #include #i...
分类:其他好文   时间:2014-08-06 19:23:32    阅读次数:299
CodeForces - 38E Let's Go Rolling!
Description On a number axis directed from the left rightwards, n marbles with coordinates x1,?x2,?...,?xn are situated. Let's assume that the sizes of the marbles are infinitely small, that is ...
分类:其他好文   时间:2014-08-06 19:11:42    阅读次数:310
Prime Distance(二次筛素数)
Description The branch of mathematics called number theory is about properties of numbers. One of the areas that has captured the interest of number theoreticians for thousands of years is the qu...
分类:其他好文   时间:2014-08-06 19:06:42    阅读次数:319
New Hire Training Experience
Game Description: 1. In a closed door, there will be a circle, and 30 numbers in the circle. 2. Each team (about 10 people) need to take number out of the circle by ascend order. 3. Each team has...
分类:其他好文   时间:2014-08-06 19:06:02    阅读次数:359
EMVTag系列4——5A 应用主账号
L:var.最大10 —M(必备):此数据应存在并提供给终端,终端在读应用数据过程中,如果没有读到必备数据,终端中止交易;等同磁条上的应用主帐户。       银行卡号一般是16位或者19位。由如下三部分构成: 1)  发卡银行识别号(BIN,BANKIDENTIFICATION NUMBER)     前6位数字为发卡 银行识别号,由ISO国际组织统一制定。...
分类:其他好文   时间:2014-08-06 19:01:32    阅读次数:293
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!