码迷,mamicode.com
首页 >  
搜索关键字:ugly number    ( 27156个结果
iOS 控制输入框的字数?(textFliedView,textFlied等)
//控制输入框的字数- (void)textViewDidChange:(UITextView *)textView{ NSInteger number = [textView.text length]; if (number > 300) { textView.text = [textV...
分类:移动开发   时间:2014-08-01 13:10:51    阅读次数:286
hdu 1018 Big Number
Big Number Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 25567    Accepted Submission(s): 11600 Problem Description In many appli...
分类:其他好文   时间:2014-08-01 10:58:11    阅读次数:171
ioctl.h 分析
ioctl.h 分析 我自己画了个解析图。。。不要嫌弃丑啊。。。哈哈   type The magic number. Just choose one number (after consultingioctl-number.txt ) and use it throughout the driver. This field is eight b...
分类:其他好文   时间:2014-08-01 10:55:41    阅读次数:234
oracle function
create or replace function get_take_item_activity (in_gift_id in number)--注意, oracle函数不能子啊 return之前 is , 或者定义变量RETURN item_activity_type PIPELINED is ...
分类:数据库   时间:2014-08-01 10:45:21    阅读次数:281
Combination Sum leetcode java
题目:Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same re....
分类:编程语言   时间:2014-08-01 10:43:21    阅读次数:266
二分查找
二分查找又称折半查找,优点是比较次数少,查找速度快,平均性能好;其缺点是要求待查表为有序表,且插入删除困难。 假设其数组长度为n,其算法复杂度为o(log(n)) 代码: #include using namespace std; bool BinarySearch(int data[],int start, int end, int number){ while(start...
分类:其他好文   时间:2014-08-01 09:14:51    阅读次数:228
Sum Root to Leaf Numbers leetcode java
题目:Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 w....
分类:编程语言   时间:2014-08-01 06:57:21    阅读次数:297
The differentiation program with abstract data
#!r6rs ( import ( rnrs base ( 6 ) )          ( rnrs io simple ( 6 ) ) ) ( define ( deriv exp var )    ( define ( variable? x )       ( symbol? x ) )        ( define ( =number? exp num )...
分类:其他好文   时间:2014-08-01 02:28:20    阅读次数:210
LeetCode 第一题,Two Sum
题目还原 Two Sum Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up t...
分类:其他好文   时间:2014-08-01 02:25:11    阅读次数:391
python 学习第一天
python学习了好久,发现还是个小白,python还是不会用,从今天起每天学写一点小程序,做个打不死的小强。相关知识:列表,字典#!/usr/bin/envpythonpeople={‘yong‘:{‘phone‘:‘123‘,‘addr‘:‘Shanghai‘},‘bu‘:{‘phone‘:‘456‘,‘addr‘:‘Wuhan‘},‘yan‘:{‘phone‘:‘789‘,‘addr‘:‘Henan..
分类:编程语言   时间:2014-08-01 00:13:51    阅读次数:253
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!