码迷,mamicode.com
首页 >  
搜索关键字:you are the one    ( 52546个结果
Not Having Some Part Of Them Want This Bag
Herve Leger dresses ccommodate gas and electric light. To be honest with you, it is limited to children and the elderly. You will be pleased with all ...
分类:其他好文   时间:2014-05-17 00:38:15    阅读次数:406
Leetcode | Longest Palindromic Substring
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes...
分类:其他好文   时间:2014-05-16 21:15:37    阅读次数:454
不用js实现幻灯片功能
one two three four five six seven eight
分类:Web程序   时间:2014-05-16 20:49:04    阅读次数:340
Scala 学习笔记
class Rational(n: Int, d: Int) { require(d != 0) override def toString = n +"/"+ d}The require method takes one boolean parameter. If the passed val.....
分类:其他好文   时间:2014-05-16 09:01:12    阅读次数:272
Scala curly braces & parenthesis
今天上英文課, 因為我想記住這兩個單字curly braces & parenthesis你會看到一些代碼中curly braces & parenthesis是可以替換的?You may replace parenthesis with curly braces if, and only if, ...
分类:其他好文   时间:2014-05-16 07:27:23    阅读次数:257
maven-compiler-plugin升级到3.1出现问题(转)
转自:http://my.oschina.net/zhuka/blog/124503No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?解决问题: 由于Ecl....
分类:其他好文   时间:2014-05-16 06:51:55    阅读次数:519
LeetCode---Remove Nth Node From End of List
题目链接题意: 给出单链表头指针head和整数n, 要求删除链表的倒数第n个结点, 这里n保证是合法的输入.我的思路....其实我没大明白题目建议的one pass是什么意思, 可能就是遍历一遍链表的, 不过我还是秉着能A掉就万岁的心态...我还是首先记录了链表的长度, 然后删除第len - n +...
分类:其他好文   时间:2014-05-16 05:45:56    阅读次数:348
HDU 4027 Can you answer these queries? (线段树+区间点修改)
题意:给你 n 个数,m个询问(c,x,y) c==0 把x,y区间的值变为原来的平方根(向下取整) c==1 计算x,y区间的和。 利用1的开方永远为1剪枝。。 #include #include #include #include //#include #include #include #include #include #include #include...
分类:其他好文   时间:2014-05-13 15:50:04    阅读次数:338
Best Time to Buy and Sell Stock
原题: Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction (ie, buy one and sell one share of th...
分类:其他好文   时间:2014-05-13 14:12:41    阅读次数:342
Leetcode 贪心 Best Time to Buy and Sell StockII
本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenlie Best Time to Buy and Sell Stock II  Total Accepted: 13030 Total Submissions: 36467 Say you have an array for which the ith ...
分类:其他好文   时间:2014-05-13 14:08:39    阅读次数:414
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!