错误如下:pacman -S make gcc diffutils :: 正在获取软件包......错误:无法从 repo.msys2.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds 获取 ...
分类:
其他好文 时间:
2020-05-07 22:54:18
阅读次数:
232
安装Apache yum -y install httpd httpd-devel gcc gcc-c++ (第一台虚拟机) 安装Tomcat 安装jdk rpm -ivh jdk-8u20-linux-x64.rpm 写环境变量 vi /etc/profile ###java use#### ex ...
分类:
Web程序 时间:
2020-05-07 19:42:48
阅读次数:
80
安装Apache yum -y install httpd httpd-devel gcc gcc-c++ (第一台虚拟机) 安装Tomcat 安装jdk rpm -ivh jdk-8u20-linux-x64.rpm 写环境变量 vi /etc/profile ###java use#### ex ...
分类:
Web程序 时间:
2020-05-07 19:36:50
阅读次数:
66
Mysql编译安装8.0.19 准备工作 GCC boots Red Hat系 7.x: 8.x: boost 解压 创建临时bld文件夹 编译与安装 cmake 先去 "官网" 下载: 安装了boost的可以不需要: 安装位置与数据位置根据需要自定义: 编译和安装 这里笔者遇到了libstdc++ ...
分类:
数据库 时间:
2020-05-07 15:44:46
阅读次数:
101
https://leetcode-cn.com/problems/minimum-depth-of-binary-tree/solution/li-jie-zhe-dao-ti-de-jie-shu-tiao-jian-by-user7208/ 思路:有个特殊情况,比如树是1,2.这样的话,根节点为 ...
分类:
其他好文 时间:
2020-05-07 10:48:03
阅读次数:
60
Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and ino ...
分类:
其他好文 时间:
2020-05-06 13:56:18
阅读次数:
55
Centos7安装FastDFS教程 离线安装包准备: 将相关的安装包上传到 /usr/local 目录 安装包下载 并解压到当前目录 1.安装 gcc yum install -y gcc gcc-c++ 2.安装 perl yum install -y perl 3.安装 libevent yu ...
分类:
其他好文 时间:
2020-05-06 13:48:32
阅读次数:
72
题目描述 给定一个二叉搜索树,编写一个函数?kthSmallest?来查找其中第?k?个最小的元素。 说明: 你可以假设 k 总是有效的,1 ≤ k ≤ 二叉搜索树元素个数。 示例: 题目链接: https://leetcode cn.com/problems/kth smallest elemen ...
分类:
其他好文 时间:
2020-05-06 12:02:09
阅读次数:
46
1 /** 2 * Definition for a binary tree node. 3 * struct TreeNode { 4 * int val; 5 * TreeNode *left; 6 * TreeNode *right; 7 * TreeNode(int x) : val(x), ...
分类:
其他好文 时间:
2020-05-06 11:59:27
阅读次数:
66
依赖环境 1. 系统环境 gcc/g++ 7 cuda 10.1 2. conda环境 ...
分类:
Web程序 时间:
2020-05-06 01:21:36
阅读次数:
131