注意事项获取表单信息 number_format()函数对指定的数字字符串进行格式化"; //执行换行echo number_format($number, 2); //输出2个参数格式化后的数字字符串echo ""; //执行换行$number2 ...
分类:
Web程序 时间:
2014-09-30 20:13:50
阅读次数:
294
题意:
给范围[X,Y],求范围内双峰数位数和最大值是多少。
双峰数定义就是满足一个数 可以分割成两个 /\ /\ 的形式。
思路:
dp[site][cur][ok] site位 前面的数是cur 状态为ok
ok分为7种
0:前面所有数都是0
1:第一个峰数且只有一个数
2:第一个峰数在峰顶(可上可下)
3:第一个峰数在峰底(可进入下一个峰或者继续往下)
4:同1 是第...
分类:
其他好文 时间:
2014-09-30 20:06:29
阅读次数:
219
Letter Combinations of a Phone Number
Total Accepted: 17652 Total
Submissions: 66854My Submissions
Given a digit string, return all possible letter combinations that the number could repr...
分类:
其他好文 时间:
2014-09-30 19:28:09
阅读次数:
183
[Leetcode 题解]:Palindrome Number
分类:
其他好文 时间:
2014-09-30 18:53:39
阅读次数:
157
This link which you also mentioned describes the necessary steps to compile OpenCV on your machine. The version of OpenCV you install this way will be...
分类:
系统相关 时间:
2014-09-30 18:13:59
阅读次数:
298
====================问题描述==================== 怎么解析Version和COMPANY的值? ====================解决方案1==================== ...
分类:
移动开发 时间:
2014-09-30 17:35:09
阅读次数:
203
首先我们看看Point类的属性:x:Number——该点的水平坐标y:Number——该点的垂直坐标length:Number——从(0,0)到此点的线段长度(只读属性)从length属性我们可以看到,实际上一个Point类的实例是一个以(0,0)为始点,以(x,y)为终点的矢量,因此,我们可以应用...
分类:
其他好文 时间:
2014-09-30 17:18:49
阅读次数:
236
select * from product_info t where t.contract_detailid is not null
and length(translate(t.contract_detailid,'-.0123456789'||t.contract_detailid,'-.0123456789'))...
分类:
数据库 时间:
2014-09-30 15:56:49
阅读次数:
210
1,准备好distribution证书? 2,archive submit到iTunesConnect, 3,保证app version 和 提交的 version一致 (Privacy Policy UR ?现在 这个一定要有 否则 肯定会 17.5 悲剧的...) 4,submit for Review...
分类:
移动开发 时间:
2014-09-30 15:27:50
阅读次数:
184
开发环境:AT91SAM9X25开发板:安装linux2.6.39; pc的虚拟机:Linux version 2.6.18-194.el5? (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) ,arm-linux-gcc的版本为version 4.4.3 一、下载gbd http://ft...
分类:
数据库 时间:
2014-09-30 13:31:19
阅读次数:
255