本文以在SpringBoot下集成ElasticJob的方式对其进行浅析,仅仅是简单使用,不涉及源码级别研究。 事先必备: 注册中心——zookeeper 简略结构: 代码目录结构: ├─.idea └─src └─main ├─java │ └─com │ └─sakura │ ├─configu ...
分类:
编程语言 时间:
2020-05-22 19:06:43
阅读次数:
119
博客链接: 二叉树的层平均值 题目链接:https://leetcode-cn.com/problems/average-of-levels-in-binary-tree/ 给定一个非空二叉树, 返回一个由每层节点平均值组成的数组. 示例 1: 输入: 3 / \ 9 20 / \ 15 7输出: ...
分类:
其他好文 时间:
2020-05-22 17:15:04
阅读次数:
60
https://zhuanlan.zhihu.com/p/30953081 macro是宏平均,就是先计算P1 R1 P2 R2 ...然后得到Pmean Rmean, 再计算Fmacro, 而micro是微平均,是P=准确率=判对的/全部,而R=召回的/全部 Pmacro=Rmacro=Accur ...
分类:
系统相关 时间:
2020-05-21 17:47:32
阅读次数:
88
题1:一棵树每层节点的平均数(Average of Levels in Binary Tree) LeetCode题号:637 难度:Easy 链接:https://leetcode-cn.com/problems/average-of-levels-in-binary-tree/ 题目描述: 给定 ...
分类:
其他好文 时间:
2020-05-21 00:32:36
阅读次数:
62
用户的其他修改命令(了解) 用户的扩展知识 用户的密码管理 bash passwd 创建密码的规范 1.密码的长度最好大于10位字符 2.密码中包含大小写字母数字以及特殊字符 ! @ $ 3.不规则性(不要出现自己名字、公司名字、自己电话、等等简单的密码) [root@localhost ~] pa ...
分类:
其他好文 时间:
2020-05-18 23:05:04
阅读次数:
109
本题要求编写程序,计算4个整数的和与平均值。题目保证输入与输出均在整型范围内。 输入格式: 输入在一行中给出4个整数,其间以空格分隔。 输出格式: 在一行中按照格式“Sum = 和; Average = 平均值”顺序输出和与平均值,其中平均值精确到小数点后一位。 输入样例: 1 2 3 4 输出样例 ...
分类:
其他好文 时间:
2020-05-13 14:10:06
阅读次数:
98
Fspecial函数用来去创建预定义的滤波算子,然后呢和imfilter搭建使用,它的语法格式是h=fspecial(type,parameters,sigma)第一个type用来定义算子类型,paremeters指定相应的参数,sigma表示滤波器的标准差,单位为像素type=‘average‘,为均值滤波,参数为n,代表模版尺寸,用向量表示,默认值为[3,3]。type=
分类:
其他好文 时间:
2020-05-13 10:09:14
阅读次数:
93
Abstract: What do you think about the question? Does the 64 bits always do better? The answer is NO. When we talk about 64 bit vs. 32 bit we mean two ...
分类:
其他好文 时间:
2020-05-12 20:12:53
阅读次数:
84
问题: C and C++ have many differences, and not all valid C code is valid C++ code. C和C ++有很多区别,并非所有有效的C代码都是有效的C ++代码。(By "valid" I mean standard code wi ...
分类:
编程语言 时间:
2020-05-05 23:21:45
阅读次数:
68
The shape peak replenishes both Bc and Be tokens every Tc seconds, and allows for sending at higher sustained rate that depends both on the size of Bc ...
分类:
其他好文 时间:
2020-05-04 21:09:01
阅读次数:
71