码迷,mamicode.com
首页 >  
搜索关键字:ugly number    ( 27156个结果
oracle存储过程+游标处理select数据
create or replace PROCEDURE UPDATE_RECORDCODE is cursor location_data is select * from location where remark in('952701','9527008','952705');--申明游标 serviceCode NUMBER:=1; BEGIN for l in locati...
分类:数据库   时间:2014-09-02 12:29:14    阅读次数:220
Maximum Depth of Binary Tree
问题描述 Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. 解决方案 /** * Definition fo...
分类:其他好文   时间:2014-09-02 00:26:44    阅读次数:217
HDU 1394 Minimum Inversion Number (线段树 单点更新 求逆序数)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1394 题意:给你一个n个数的序列,其中组成的数只有0-n,我们可以进行这么一种操作:把第一个数移到最后一个,次数不限。问,在原始数列和最新生成的数列中逆序数最小可以是多少? 刚开始以为需要枚举求逆序数,但最后知道了这个题是有规律的:一个由0-n组成的n个数的数列,当第一个数移到最后一位的时...
分类:其他好文   时间:2014-09-02 00:21:42    阅读次数:249
Java Script 基本知识点
JavaScript是一种基于对象和事件驱动的脚本语言,它提供了一些专有的类、对象及函数 1.基本数据类型 JavaScript提供了4种基本的数据类型用来处理数字和文字 Number、String、Null、Boolean1).变量 语法: var变量名=值; 变量命名规范:1)变量名由字母、数....
分类:编程语言   时间:2014-09-02 00:12:03    阅读次数:322
Combination Sum II
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 numb...
分类:其他好文   时间:2014-09-02 00:07:23    阅读次数:258
Linux -- chage
CHAGE(1) 用户命令 CHAGE(1)名称 chage - 更改用户密码过期信息大纲 chage [选项] 登录描述 The chage command changes the number of days between password changes and the date of th...
分类:系统相关   时间:2014-09-01 22:39:13    阅读次数:434
LeetCode 18 Letter Combinations of a Phone Number
Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given below. Input:Digit st...
分类:其他好文   时间:2014-09-01 21:15:03    阅读次数:223
philosophy
Even though the UNIX system introduces a number of innovative programs and techniques, no single program or idea makes it work well. Instead, what mak...
分类:其他好文   时间:2014-09-01 19:16:53    阅读次数:187
android保存USIM卡上的联系人时,提示“不能保存电话号码为空的联系人”的问题
1.USIM卡上有一个联系人,有电话号码和名字 2.修改该联系人,将name删除 3.将电话字段中的“手机”替换为"其他" 4.保存时会提示“不能保存电话号码为空的联系人”   這是USIM卡的設計:Name 和 Number不能同時為空。 當把 Number 的 Type 改成 other 後,它會被改設到 "Additional number" 的欄位,而導致 Number 變為空...
分类:移动开发   时间:2014-09-01 17:52:53    阅读次数:263
当多台设备连接时,选择其中设备ADB调试
1. 通过adb devices命令获取所有online设备的serial number。 C:\Users\zhaopeng>adb devices List of devices attached b7b86f9 device localhost:4444  device 2. 通过adb -s cmd向设备发送adb命令。 比如:运行命令shell。...
分类:数据库   时间:2014-09-01 17:51:36    阅读次数:384
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!