码迷,mamicode.com
首页 >  
搜索关键字:comare version number    ( 48018个结果)
LeetCode (1) Merge Sorted Array
题目: Given two sorted integer arrays A and B, merge B into A as one sorted array. Note: You may assume that A has enough space to hold additional elements from B. The number of elements initia...
分类:其他好文   时间:2014-08-15 18:00:09    阅读次数:194
UVA 11582 Colossal Fibonacci Numbers!(打表+快速幂)
Colossal Fibonacci Numbers! The i'th Fibonacci number f (i) is recursively defined in the following way: f (0) = 0 and f (1) = 1f (i+2) = f (i+1) + f (i)  for every i ≥ 0 Your task is to comput...
分类:其他好文   时间:2014-08-15 17:55:09    阅读次数:241
mysql通过查看跟踪日志跟踪执行的sql语句
在SQL SERVER下跟踪sql采用事件探查器,而在mysql下如何跟踪sql呢? 其实方法很简单,开启mysql的日志log功能,通过查看跟踪日志即可。 开启mysql的日志log方法: windows环境下的配置方法: 我使用的版本:Version: 5.0.37-community-...
分类:数据库   时间:2014-08-15 17:43:09    阅读次数:239
编程之美之电话号码对应英语单词
题目一:根据电话上字母和数字的对应关系,用一个有意义的单词来表述一个电话号码,如用computer表示26678837 题目二:反过来,给定一个电话号码,是否可以用一个单词来表示呢?怎样表示最快呢?显然不是所有的电话号码都可以对应到单词上去 首先来看看leetcode上一个类似的题目: Letter Combinations of a Phone Number   G...
分类:其他好文   时间:2014-08-15 16:11:50    阅读次数:257
Android中 Rect类
Rect位于android.graphics下,表示一个矩形,由四条边的坐标组成,提供了一些设置方法,都比较简单,源码如下: /* * Copyright (C) 2006 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * yo...
分类:移动开发   时间:2014-08-15 16:05:12    阅读次数:327
Linux RAID 1
磁盘管理RAID1POC环境在linux上添加2块新的30GB硬盘启动cat/etc/redhat-releasecatName:mdadmRelocations:(notrelocatable)Version:3.2.5Vendor:RedHat,Inc.Release:4.el6BuildDate:Fri07Dec201212:14:45AMCSTInstallDate:Fri01Aug201406:07:09PMCSTBuildHost:x86-003.build.bo..
分类:系统相关   时间:2014-08-15 14:48:49    阅读次数:311
【Leetcode长征系列】Single Number II
原题: Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it withou...
分类:其他好文   时间:2014-08-15 14:46:48    阅读次数:207
HDU4952:Number Transformation
Problem Description Teacher Mai has an integer x. He does the following operations k times. In the i-th operation, x becomes the least integer no less than x, which is the multiple of i. He w...
分类:其他好文   时间:2014-08-15 14:41:45    阅读次数:165
POJ 2777 Count Color (线段树+位运算)
题意很简单了,对一个区间有两种操作: 1. "C A B C" Color the board from segment A to segment B with color C. //A~B涂上颜色C 2. "P A B" Output the number of different colors painted between segment A and segment B (includ...
分类:其他好文   时间:2014-08-15 14:39:58    阅读次数:292
mina jar包
mina example 依赖jar包 org.apache.mina mina-core ${mina.version} org.apache.m...
分类:其他好文   时间:2014-08-15 14:28:18    阅读次数:484
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!