1.概念 2.安装与启动 安装略(二进制文件解压即可使用) 配置文件说明 linux与windows下的启动 zkCli.cmd –server ip:port连接到指定的服务器地址 //windows zkCli.sh –server ip:port连接到指定的服务器地址 //windows 基本 ...
分类:
其他好文 时间:
2018-10-30 17:28:35
阅读次数:
187
[CC MCO16306]Fluffy and Alternating Subsequence 题目大意: 给定一个$1\sim n(n\le3\times10^5)$的排列$a$。 对于一个序列$b$,如果以下两个条件之一成立,则称$b_i$是一个跳跃序列: 1. $b_{2k}b_{2k 1}$ ...
分类:
其他好文 时间:
2018-10-30 13:53:22
阅读次数:
136
https://leetcode.com/problems/number-of-longest-increasing-subsequence/discuss/107293/JavaC++-Simple-dp-solution-with-explanation 每次记载最大长度 然后最后遍历 把等于最 ...
分类:
其他好文 时间:
2018-10-30 11:20:50
阅读次数:
135
Given a n-ary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest le ...
分类:
其他好文 时间:
2018-10-29 22:11:05
阅读次数:
200
【问题描述】 1.从myslq(5.7.19-0ubuntu0.16.04.1)中导出sql脚本,导入到mysql(5.5.27)中,报如下错误:Row size too large. The maximum row size for the used table type, not countin ...
分类:
数据库 时间:
2018-10-29 19:58:25
阅读次数:
347
这是悦乐书的第 154 次更新,第 156 篇原创 01 看题和准备 今天介绍的是LeetCode算法题中Easy级别的第13题(顺位题号是53)。给定一个整数数组nums,找出一个最大和,此和是由数组中索引连续的元素组成,至少包含一个元素。例如: 输入:[ 2, 1, 3, 4, 1, 2, 1, ...
分类:
编程语言 时间:
2018-10-28 11:11:37
阅读次数:
170
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> 控制 ...
分类:
其他好文 时间:
2018-10-27 11:59:46
阅读次数:
143
Common Subsequence Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 49216 Accepted Submission(s): ...
分类:
其他好文 时间:
2018-10-27 01:29:45
阅读次数:
142
Given an integer array with no duplicates. A maximum tree building on this array is defined as follow: Construct the maximum tree by the given array a ...
分类:
其他好文 时间:
2018-10-26 10:45:37
阅读次数:
243
昨天高铁上拿T480切win10系统看电影,为了节电给细调了个省电策略(设置CPU性能30%),不知是不是因为这个原因,今天切回Ubuntu1604工作导致CPU工作频率非常低。 查阅了一下相关方法,cpufreq工具还是很好用的! 安装:sudo apt get install cpufreq 显 ...
分类:
系统相关 时间:
2018-10-26 10:42:33
阅读次数:
409