上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 119 下一页
摘要: Implementint sqrt(int x). Compute and return the square root of x. 逐次逼近 阅读全文
posted @ 2018-09-11 22:15 鸭子船长 阅读(162) 评论(0) 推荐(0)
摘要: 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 cl 阅读全文
posted @ 2018-09-11 22:05 鸭子船长 阅读(250) 评论(0) 推荐(0)
摘要: 题目描述 Given an absolute path for a file (Unix-style), simplify it. For example,path ="/home/", =>"/home"path ="/a/./b/../../c/", =>"/c" click to show c 阅读全文
posted @ 2018-09-11 21:48 鸭子船长 阅读(341) 评论(0) 推荐(0)
摘要: Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.) You have 阅读全文
posted @ 2018-09-11 21:34 鸭子船长 阅读(258) 评论(0) 推荐(0)
摘要: 题目描述 Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. click to show follow up. Follow up: Did you use ext 阅读全文
posted @ 2018-09-11 21:07 鸭子船长 阅读(203) 评论(0) 推荐(0)
摘要: Android Studio 3.0会在debug apk的manifest文件application标签里自动添加 android:testOnly="true"属性,导致IDE中run跑出的apk在大部分手机上只能用adb install -t <apk>来安装,在oppo手机上甚至安装不了 解 阅读全文
posted @ 2018-08-27 19:43 鸭子船长 阅读(380) 评论(0) 推荐(0)
摘要: 使用ndk自带的工具进行分析, 可以得出 可以看出是哪个函数出现错误,从而进行分析 阅读全文
posted @ 2018-08-15 14:51 鸭子船长 阅读(637) 评论(0) 推荐(0)
摘要: 1、openmp加载,cmake3.9之后内置了openmp 2、引用的c++11不同会引发编译错误 可通过ANDROID_STL设置 3、可设置输出路径,ARCHIVE_OUTPUT_DIRECTORY表征静态库路径,LIBRARY_OUTPUT_DIRECTORY为动态库路径 4、 阅读全文
posted @ 2018-08-10 14:55 鸭子船长 阅读(4209) 评论(0) 推荐(0)
摘要: 通常为include该文件的头文件内类的声明处未加“;” 阅读全文
posted @ 2018-08-10 11:34 鸭子船长 阅读(1262) 评论(0) 推荐(0)
摘要: 生成cmake编译所需的文件 阅读全文
posted @ 2018-08-09 22:23 鸭子船长 阅读(1041) 评论(0) 推荐(0)
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 119 下一页