摘要: 按照自己的理解题目,数组内所有的组合;假如[1,2,3,4]看成1111到0000里面的排列组合,取位运算。 vector subsets(vector&nums) { int S = nums.size(); int N = 1 res; for (int i = 0; i v; for (int 阅读全文
posted @ 2019-10-14 21:55 冲破天际 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 1040水题; These days, I am thinking about a question, how can I get a problem as easy as A+B? It is fairly difficulty to do such a thing. Of course, I g 阅读全文
posted @ 2019-04-26 10:36 冲破天际 阅读(104) 评论(0) 推荐(0) 编辑
摘要: make、Makefile CMake、CMakefile 阅读全文
posted @ 2019-03-25 20:51 冲破天际 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 首先我推荐我在b站上面学习的频道:https://space.bilibili.com/88461692?spm_id_from=333.788.b_765f7570696e666f.2 这个频道我觉的讲的非常直观,其中我认为他有几部分讲的很不错:例如就是矩阵相乘的定义非常直观,就是空间变换. 这个 阅读全文
posted @ 2018-12-20 21:22 冲破天际 阅读(466) 评论(0) 推荐(0) 编辑
摘要: 1、图像在内存中存储方式,图像矩阵的大小取决于颜色模型,取决于所有的通道数;还有重要的颜色空间缩减的概念:因为如果是RGB的话,使用uchar的话,就有256^3的结合方法。所以要用到颜色缩减的方法,就是利用在每个像素值里抽选一部分像素值,而不是选择全部像素值。利用的公式是Inew=(Iold/10 阅读全文
posted @ 2018-11-18 13:47 冲破天际 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 因为项目的原因,这几天入手了树莓派,打算搞个人脸识别训练模型出来;这篇文章是来分享树莓派的系统安装和登录树莓派操作系统。 (1)材料准备 1,树莓派、笔记本电脑 2,网线一根,SD卡(16G或32G)和读卡器 3,网线转接口(假如你的电脑有网线插口就可以免去) 4,5/2.5A充电器一个 (2)安装 阅读全文
posted @ 2018-11-04 21:17 冲破天际 阅读(443) 评论(0) 推荐(0) 编辑
摘要: 英文题目: A group of N people wishes to go across a river with only one boat, which can at most carry two persons. Therefore some sort of shuttle arrangem 阅读全文
posted @ 2018-10-20 17:00 冲破天际 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 题目描述: Yogurt factory The cows have purchased a yogurt factory that makes world-famous Yucky Yogurt. Over the next N (1 <= N <= 10,000) weeks, the pric 阅读全文
posted @ 2018-10-19 10:53 冲破天际 阅读(145) 评论(0) 推荐(0) 编辑