码迷,mamicode.com
首页 >  
搜索关键字:numbers range    ( 16974个结果
LeetCode1: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 t...
分类:其他好文   时间:2014-04-30 03:20:07    阅读次数:502
HDU1719 Friend (数学推导)
friend numbers = 2^x + 3^y -1 1 #include 2 int main() 3 { 4 __int64 a; 5 while(scanf("%I64d",&a)!=EOF) 6 { 7 if(!a) 8 { 9...
分类:其他好文   时间:2014-04-30 01:43:36    阅读次数:322
LeetCode OJ - Sum Root to Leaf Numbers
这道题也很简单,只要把二叉树按照宽度优先的策略遍历一遍,就可以解决问题,采用递归方法越是简单。下面是AC代码: 1 /** 2 * Sum Root to Leaf Numbers 3 * 采用递归的方法,宽度遍历 4 */ 5 int result=0; 6...
分类:其他好文   时间:2014-04-28 10:05:40    阅读次数:682
玩转html5(一)-----盘点html5新增的那些酷酷的input类型和属性
今天正式开始学习html5了,相比html以前的版本,html5新增了好多功能,属性,使我们做出来的界面更加的绚丽,而且使用起来超级简单,这篇文章先来说说html增加的那些input类型和属性。 html5新增的input类型有:email,url,number,range,date pickers,datalist,telephone,search,color email:提交时会自...
分类:Web程序   时间:2014-04-27 18:31:48    阅读次数:1273
16974条   上一页 1 ... 1696 1697 1698
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!