2018年2月23日

Git命令---递归克隆

摘要: Git命令 --recursive 会递归克隆fast-rcnn项目下面的所有git项目 阅读全文

posted @ 2018-02-23 17:08 暴力的轮胎 阅读(12144) 评论(0) 推荐(1) 编辑

2017年11月15日

C/C++程序计时函数gettimeofday的使用

摘要: linux 环境下 用 clock_t发现不准。 换用 阅读全文

posted @ 2017-11-15 11:10 暴力的轮胎 阅读(3845) 评论(0) 推荐(0) 编辑

2017年10月23日

求逆序对数

摘要: https://www.nowcoder.com/practice/96bd6684e04a44eb80e6a68efc0ec6c5?tpId=13&tqId=11188&rp=2&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question 阅读全文

posted @ 2017-10-23 21:18 暴力的轮胎 阅读(415) 评论(0) 推荐(0) 编辑

2017年9月17日

python的内存管理机制

摘要: 简单说, Python语言底层使用C语言实现,所以内存分配其实封装了C 的 malloc lib 在上面又封装了一层成为py的allocator 为了增加py的可移植性. 在底层, 1 Block是一个大小固定的内存块。size = 8, 16, 32, 64。。。。 2 一组Block的集合就是一 阅读全文

posted @ 2017-09-17 22:23 暴力的轮胎 阅读(615) 评论(0) 推荐(1) 编辑

2017年8月5日

阿里巴巴云计算面试

摘要: c++基础: 虚函数 自己实现一个栈,push pop getMin 时间复杂度 O(1) 方式:用另外一个栈 minStack来维护当前元素对应的最小值 push 插入元素的时候 直接插入 dataStack 如果 newNum < minStack.top , minStack.push(new 阅读全文

posted @ 2017-08-05 16:47 暴力的轮胎 阅读(213) 评论(0) 推荐(0) 编辑

C++类成员函数与成员变量的内存布局

摘要: 一、成员函数 成员函数可以被看作是类作用域的全局函数,不在对象分配的空间里,只有虚函数才会在类对象里有一个指针,存放虚函数的地址等相关信息。 阅读全文

posted @ 2017-08-05 14:23 暴力的轮胎 阅读(717) 评论(0) 推荐(0) 编辑

2017年6月15日

c语言读取一个文件夹下的全部文件(jpg / png 文件)

摘要: #include #include #include #include #include // Jinxu void get_files(char *p, char **image_paths, int *img_cnt) { DIR *dir; char base_path[512]; memset(base_path, 0, sizeof base_path... 阅读全文

posted @ 2017-06-15 16:17 暴力的轮胎 阅读(5620) 评论(0) 推荐(0) 编辑

2017年6月12日

万能makefile模板

摘要: 这里一份万能makefile模板,写opencv项目时候使用的。 前提是提前配置好 包管理工具 pkg 然后就不用每次都去 -lopencv_xxx了。 阅读全文

posted @ 2017-06-12 11:08 暴力的轮胎 阅读(517) 评论(0) 推荐(0) 编辑

2017年6月3日

【LeetCode 337 & 329. memorization DFS】House Robber III

摘要: 附加一道 同样使用记忆化搜索的题目 329. Longest Increasing Path in a Matrix 阅读全文

posted @ 2017-06-03 10:51 暴力的轮胎 阅读(420) 评论(0) 推荐(0) 编辑

2017年6月1日

D

摘要: 遇到的困难The most difficult thing that I faced to may be internship experience as a mobile game developer.Firstly, It is my first job out of school. I too 阅读全文

posted @ 2017-06-01 20:25 暴力的轮胎 阅读(110) 评论(0) 推荐(0) 编辑

导航