码迷,mamicode.com
首页 >  
搜索关键字:only the original th    ( 14791个结果
LeetCode:Gray Code 题解
题目描述:The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total n...
分类:其他好文   时间:2014-05-26 21:30:04    阅读次数:296
uva 10090 Marbles
Problem FMarblesInput:standard inputOutput:standard outputI have some (say,n) marbles (small glass balls) and I am going to buy some boxes to store th...
分类:其他好文   时间:2014-05-26 14:45:04    阅读次数:319
2E02-View-Lists-multiple -choice-list
介绍一个多选list /* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
分类:其他好文   时间:2014-05-23 00:52:57    阅读次数:455
Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Pana...
分类:其他好文   时间:2014-05-21 21:20:54    阅读次数:291
HDU 4393 Throw nails
http://acm.hdu.edu.cn/showproblem.php?pid=4393题意:有n个人,i-th人第一秒速度为Fi/s,之后Si/s。每一秒末,跑在最前面的人消失,如果有多个人同时在最前面,id最小的人消失。输出消失顺序。题解:因为Si最多只有100个,所以对Si进行操作。采用优...
分类:其他好文   时间:2014-05-21 19:23:37    阅读次数:270
搜集C++实现的线程池
现在很多语言都内置了线程池实现,但C++中却没有。本文列举一些C++实现的线程池工具。Boost.Threadpool 项目首页:http://threadpool.sourceforge.net Boost.Threadpool是一个基于Boost、跨平台的C++线程池库。Boost.Th...
分类:编程语言   时间:2014-05-21 18:54:30    阅读次数:363
【Leetcode】Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydistinctnumbers from the original list.For example,Given1->2->3-...
分类:其他好文   时间:2014-05-21 17:51:09    阅读次数:190
2C01-View-Layout-Animation-Grid-Fade
介绍一个grid layout 顺序显示的代码 LayoutAnimation1.java /* * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use th...
分类:其他好文   时间:2014-05-21 16:58:47    阅读次数:214
LeetCode: Combination Sum II [039]
【题目】 Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each number in C may only be used once in the combination. Note: All numbers (including target) will be ...
分类:其他好文   时间:2014-05-21 15:55:25    阅读次数:259
VirtualBox虚拟机网络设置(四种方式)
VirtualBox的提供了四种网络接入模式,它们分别是:1、NAT 网络地址转换模式(NAT,Network Address Translation)2、Bridged Adapter 桥接模式3、Internal 内部网络模式4、Host-only Adapter 主机模式第一种 NAT模式解释...
分类:其他好文   时间:2014-05-21 04:05:58    阅读次数:292
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!