码迷,mamicode.com
首页 >  
搜索关键字:decode ways    ( 3811个结果
DM8168 unrecoverable error: OMX_ErrorBadParameter (0x80001005) [resolved]
DM8168 custom board 成功启动系统之后想先测一下8168编解码功能,把开发包里的examples跑一遍。启动完成后,连上HDMI显示,在starting Matrix GUI application后HDMI已经有输出了,这时候优先选择了decode_display功能来测试。 root@8168:/usr/share/ti/ti-omx# ./decode_display_a...
分类:其他好文   时间:2014-10-30 21:02:31    阅读次数:338
oracle查看死锁与解锁
1、查看死锁SELECTs.username,decode(l.type,‘TM‘,‘TABLELOCK‘,‘TX‘,‘ROWLOCK‘,NULL)LOCK_LEVEL,o.owner,o.object_name,o.object_type,s.sid,s.serial#,s.terminal,s.machine,s.program,s.osuserFROMv$sessions,v$lockl,dba_objectsoWHEREl.sid=s.sidANDl.id1=o.object_id(+)AN..
分类:数据库   时间:2014-10-30 17:18:33    阅读次数:288
oracle之单行函数
?? 单行函数 ①.字符函数 LOWER(x):将x中的每个单词都转换成小写 UPPER(x):将x中的每个单词都转换成大写 INITCAP(x): 将x中的每个单词的首字母转换成大写 CONCAT(x,y):用于将y添加到x之后,与||功能一样 SUBSTR(x,start[,length]):  用于从x中取得从start位置开始的一个子字符串,    可选参数length:指...
分类:数据库   时间:2014-10-30 15:19:16    阅读次数:303
HDU 1978 How many ways (DP,计数)
http://acm.hdu.edu.cn/showproblem.php?pid=1978 How many ways Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3022    Accepted Submission(s...
分类:其他好文   时间:2014-10-30 11:42:58    阅读次数:233
LeetCode Climbing Stairs
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? 每一次你可以爬一层或者两层,计算爬n层你...
分类:其他好文   时间:2014-10-30 00:24:42    阅读次数:202
Climbing Stairs
You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? 简单递推 class Solution { pub...
分类:其他好文   时间:2014-10-29 22:21:11    阅读次数:175
Climbing Stairs 爬楼梯问题,每次可以走1或2步,爬上n层楼梯总方法 (变相fibnacci)
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb...
分类:其他好文   时间:2014-10-29 12:48:28    阅读次数:170
关于htmlentities 、htmlspecialchars、addslashes的使用
1、html_entity_decode():把html实体转换为字符。Eg:$str = "just atest & 'learn to use '";echo html_entity_decode($str);echo "";echo html_entity_deco...
分类:Web程序   时间:2014-10-29 12:14:00    阅读次数:107
锁(下)
(2)解锁方法alter system kill session '878,1773'; /*878为SID,1773为SERIAL#*/select /*+ rule */ s.username, decode(l.type,'tm','table lock','tx','row lock',nu...
分类:其他好文   时间:2014-10-28 21:34:35    阅读次数:260
LeetCode:Climbing Stairs
题目描述: You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? 思路:斐波那契数列的应用。f(n)=f...
分类:其他好文   时间:2014-10-28 12:13:05    阅读次数:211
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!