码迷,mamicode.com
首页 >  
搜索关键字:one    ( 27922个结果
不用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
LeetCode---Remove Nth Node From End of List
题目链接题意: 给出单链表头指针head和整数n, 要求删除链表的倒数第n个结点, 这里n保证是合法的输入.我的思路....其实我没大明白题目建议的one pass是什么意思, 可能就是遍历一遍链表的, 不过我还是秉着能A掉就万岁的心态...我还是首先记录了链表的长度, 然后删除第len - n +...
分类:其他好文   时间:2014-05-16 05:45:56    阅读次数:348
[LeetCode]Single Number
Given an array of integers, every element appears twice except for one. Find that single one....
分类:其他好文   时间:2014-05-15 07:20:39    阅读次数:264
【LeetCode】Plus One
题目 Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is at the head of the list. 解答 本题考察进位问题,注...
分类:其他好文   时间:2014-05-15 04:16:56    阅读次数:245
LeetCode-005 Longest Palindromic Substrin
【题目】 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 longest palindromic substring. 【题意】 题意是找出字符串S中最长回文子串,S最长为1000,保证有唯一解 【思路】 原字符串用特殊字符#间隔,如下所示: #a...
分类:其他好文   时间:2014-05-15 03:31:25    阅读次数:299
Sicily 1732 Alice and Bob (二进制数的最大公约数)
链接: http://soj.me/1732 Constraints Time Limit: 1 secs, Memory Limit: 32 MB Description: Alice is a beautiful and clever girl. Bob would like to play with Alice. One day, Alice got a very ...
分类:其他好文   时间:2014-05-15 03:20:59    阅读次数:383
LeetCode--Single Number II
Single Number II  Total Accepted: 14472 Total Submissions: 44420My Submissions Given an array of integers, every element appears three times except for one. Find that single one. Note: Y...
分类:其他好文   时间:2014-05-15 01:23:42    阅读次数:273
POJ 1002 487-3279
Description Businesses like to have memorable telephone numbers. One way to make a telephone number memorable is to have it spell a memorable word or phrase. For example, you can call the Universit...
分类:其他好文   时间:2014-05-15 00:20:39    阅读次数:332
Linux 高性能服务器编程——高级I/O函数
重定向dup和dup2函数[cpp] view plaincopyprint?#includeintdup(intfile_descriptor);intdup2(intfile_descriptor_one,intfile_descriptor_two);dup创建一个新的文件描述符, 此描述符和...
分类:系统相关   时间:2014-05-14 22:34:09    阅读次数:479
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!