linux 下centos 安装 redis centos 版本: redis 版本:redis-4.0.11.tar.gz 在线安装:wget 命令。 centos 如缺少命令。使用 yum install wget 安装目录:/usr/local/redis 下 cd /usr/local/ 获 ...
分类:
系统相关 时间:
2020-04-14 21:00:18
阅读次数:
121
题目: Farmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) square parcels. He wants to grow some yummy c ...
分类:
其他好文 时间:
2020-04-13 22:54:46
阅读次数:
61
Programmer Rostislav got seriously interested in the Link/Cut Tree data structure, which is based on Splay trees. Specifically, he is now studying the ...
分类:
其他好文 时间:
2020-04-12 20:18:43
阅读次数:
92
题目描述 编写一个函数来查找字符串数组中的最长公共前缀。 如果不存在公共前缀,返回空字符串 ""。 示例 题目链接: https://leetcode cn.com/problems/longest common prefix/ 思路1 首先找到最短的字符串,然后遍历最短的字符串,将当前位和其余字符 ...
分类:
其他好文 时间:
2020-04-12 18:15:14
阅读次数:
58
BackgroundHugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business. But he needs a clever man who tells him whet ...
分类:
其他好文 时间:
2020-04-12 10:52:06
阅读次数:
72
一.键盘的输入 ?GetKey,GetKeyDown,GetKeyUp三个方法分别获取用户键盘按键的输入 1. GetKey:用户长按按键有效; bool down = Input.GetKeyDown(KeyCode.Space); 2. GetKeyDown:用户按下按键时有效; bool he ...
分类:
编程语言 时间:
2020-04-12 00:10:18
阅读次数:
162
实验环境约定 一. 安装Nginx 1. 安装依赖工具 2. 安装PCRE 3. 安装nginx 二. 安装mysql 1. 安装依赖包 2. 升级cmake?具 3. 升级boost库?件 4. 安装mysql 5. 启动测试 三. 安装python 四. 部署发布平台 五. 测试 ...
分类:
编程语言 时间:
2020-04-11 22:11:12
阅读次数:
97
D. Dahlia The Champion Lowie is creating a new champion in the critically acclaimed game LoL (Land of Literacy). Named it Dahlia, he planned that the ...
分类:
其他好文 时间:
2020-04-11 13:20:17
阅读次数:
99
Young boy Artem tries to paint a picture, and he asks his mother Medina to help him. Medina is very busy, that's why she asked for your help. Artem wa ...
分类:
其他好文 时间:
2020-04-09 12:41:45
阅读次数:
91
解法一:水平扫描 int indexOf(String str): 在字符串中检索str,返回其第一出现的位置,如果找不到则返回-1 class Solution { public String longestCommonPrefix(String[] strs) { if(strs.length ...
分类:
编程语言 时间:
2020-04-09 00:43:26
阅读次数:
70