 , return ...
分类:
其他好文 时间:
2020-01-05 09:32:35
阅读次数:
73
cmake_minimum_required(VERSION 3.10)project(yolo_example)set(CMAKE_CXX_STANDARD 11)include(FindPkgConfig)pkg_check_modules(GLIB glib-2.0 REQUIRED)incl ...
分类:
其他好文 时间:
2020-01-05 09:15:51
阅读次数:
74
题目如下: Given an integer n, return any array containing n unique integers such that they add up to 0. Example 1: Example 2: Example 3: Constraints: 1 <= ...
分类:
其他好文 时间:
2020-01-04 23:57:24
阅读次数:
150
1.压力测试monkey 通过cmd输入下面命令: 表示测试com.example.phonecall应用程序,随机发送点击/滑动/切换事件10000次,( -v -v -v)表示信息日志为最高级,然后打印的信息传到F:\monkey_log\test1.txt里. 如下图所示: 2.单元测试 2. ...
分类:
移动开发 时间:
2020-01-04 22:09:52
阅读次数:
89
算法设计题 2 six 顺序表中实现二分查找 判断二叉树是否为二叉排序树 链式结构上直接插入排序 seven 链式结构实现简单选择排序 顺序表上实现求子串的算法 eight 求链式结构上二叉树节点个数 设计将无向图的邻接矩阵变为邻接表的算法 nine 求二叉树上所有节点之和 设计将所有奇数移到偶数之 ...
分类:
其他好文 时间:
2020-01-04 18:16:05
阅读次数:
97
Find the sum of all left leaves in a given binary tree. Example: 3 / \ 9 20 / \ 15 7 There are two left leaves in the binary tree, with values 9 and 1 ...
分类:
其他好文 时间:
2020-01-04 14:37:15
阅读次数:
81
Qt Designer设计完是这样的(基本就是16个Push Button和1个lineEdit,再加上尺寸调整以及简单的布局) 设计结束后,保存为name.ui(比如calculator.ui),打开cmd,cd到name.ui所在文件夹,执行以下代码:pyuic5 -o name.py name ...
分类:
其他好文 时间:
2020-01-04 14:32:56
阅读次数:
256
1. 搭建QT开发环境,参照创客智造教程https://www.ncnynl.com/archives/201903/2863.html。 需要建立ROS工作空间,这样可以使用CMAKE进行编译并自动生成CMakeLists.txt文件。 $mkdir -p ~/catkin_ws/src $cd ...
分类:
编程语言 时间:
2020-01-04 12:47:33
阅读次数:
154
Problem Statement Invert a binary tree. Example: Input: 4 / \ 2 7 / \ / \ 1 3 6 9 Output: 4 / \ 7 2 / \ / \ 9 6 3 1 Trivia: This problem was inspired ...
分类:
其他好文 时间:
2020-01-04 10:29:05
阅读次数:
86