摘要: You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo... 阅读全文
posted @ 2015-08-31 22:02 江湖小妞 阅读(190) 评论(0) 推荐(0) 编辑
摘要: Matlab取整函数有:fix, floor, ceil, round,具体应用方法如下:1. fix朝零方向取整,如fix(-1.3) = -1; fix(1.3) = 1;2. floor顾名思义,地板,就是朝负无穷的方向取整,如floor(-1.3) = -2; floor(1.3) = 1;... 阅读全文
posted @ 2015-08-31 16:09 江湖小妞 阅读(224) 评论(0) 推荐(0) 编辑