码迷,mamicode.com
首页 >  
搜索关键字:can-t    ( 23056个结果
LeetCode: Climbing Stairs [070]
【题目】 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阶,每次只能爬1阶或者2阶,为爬到梯子顶共有多少种爬法 【思路】 依次确定跳到每一阶上的爬法数目 这其实是一...
分类:其他好文   时间:2014-06-05 07:16:08    阅读次数:203
HDU 3649 New Game
HDU 3649 New Game 题目大意: 首先告诉你0或1,0表示红色先手,1表示黑色先手,接下来四个数字表示 红方 A,B,C,D四个子的位置,在接下来四个数字表示黑方 A,B,C,D四个子的位置。 游戏规则如下: (1) the piece red acm can be placed on A1~,A2,A3,A4,A5;the piece black acm A6~A10; (2) the piece red bahamas can place on B1~B5; the piece bla...
分类:其他好文   时间:2014-06-05 04:21:31    阅读次数:295
UVA Quadtrees
题目如下; Quadtrees  A quadtree is a representation format used to encode images. The fundamental ideabehind the quadtree is that any image can be split into four quadrants. Each...
分类:其他好文   时间:2014-06-05 04:20:06    阅读次数:226
QDeclarativeItem学习笔记
最近在用QDeclarativeItem的继承来做Qt界面的控件,一开始发现怎么样也没法自动调用paint函数,后来查看了资料,发现如下字句: You can subclass QDeclarativeItem to provide your own custom visual item that inherits these features. Note that, because it ...
分类:其他好文   时间:2014-06-04 23:47:17    阅读次数:511
LeetCode: Text Justification [068]
【题目】 Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified. You should pack your words in a greedy approach; that is, pack as many words as you can in each line. Pad ...
分类:其他好文   时间:2014-06-04 22:37:46    阅读次数:389
freemarker报错之二
1、错误描述 五月 27, 2014 12:07:05 上午 freemarker.log.JDK14LoggerFactory$JDK14Logger error 严重: Template processing error: "Can't convert the date to string, because it is not known which parts of the date va...
分类:其他好文   时间:2014-06-04 22:00:07    阅读次数:280
CAN总线学习笔记
1.总线状态  总线有“显性”和“隐性”两个状态,“显性”对应逻辑“0”,“隐性”对应逻辑“1”。“显性”状态和“隐性”状态与为“显性”状态,所以两个节点同时分别发送“0”和“1”时,总线上呈现“0”。...
分类:其他好文   时间:2014-06-03 05:30:57    阅读次数:211
TI_DSP_corePac_带宽管理 - 1.1(原理)
There is no systematic design for shared resource access priority in platform side, and there is no interface provided by platform that can be used by application to do bandwidth management optimizat...
分类:其他好文   时间:2014-06-03 04:54:35    阅读次数:262
LeetCode: Word Search [079]
【题目】 Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be use...
分类:其他好文   时间:2014-06-03 01:07:58    阅读次数:329
FSM
Finite State Machine can be used the model the behavior of system by identifying what states the system can be in, what inputs or events trigger state...
分类:其他好文   时间:2014-05-31 20:20:04    阅读次数:292
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!