学而时习之,不亦悦乎! netty源码 public final class DefaultEventExecutorChooserFactory implements EventExecutorChooserFactory { public static final DefaultEventExe ...
分类:
其他好文 时间:
2020-01-19 12:35:39
阅读次数:
66
基于矩阵运算的库 常用属性: 维度:ndim 形状:shape 个数:size 矩阵生产: array(列表,dtype=np.float64) zeros((行*列)) ones((行*列)) empty((行*列)) arange等差数列,默认起始值为0 linspace(起,终,段数) ran ...
分类:
其他好文 时间:
2020-01-19 09:46:45
阅读次数:
89
链接:https://codeforces.com/contest/1288/problem/C C. Two Arrays 题意:给定一个数n和一个数m,让构建两个数组a和b满足条件,1.数组中所有元素的取值在1~n之间,a和b数组长度是m。2. a数组是单调不递减的,b数组是单调不递增 3. 任 ...
分类:
其他好文 时间:
2020-01-19 09:24:01
阅读次数:
60
Given a binary tree, return the vertical order traversal of its nodes' values. (ie, from top to bottom, column by column). If two nodes are in the sam ...
分类:
其他好文 时间:
2020-01-19 00:06:21
阅读次数:
82
//数组解构 let arr = [1,2,3,4,5,6,7] let [one,two] = arr let [one, , ,four] = arr console.log(one,two,four) let arr = 'abcd' let [first, ,third] = arr con ...
分类:
编程语言 时间:
2020-01-19 00:03:31
阅读次数:
97
问题 G: AtCoDeer and Election Report 时间限制: 1 Sec 内存限制: 128 MB[提交] [状态] 题目描述 AtCoDeer the deer is seeing a quick report of election results on TV. Two ca ...
分类:
其他好文 时间:
2020-01-18 19:45:21
阅读次数:
120
There are two ways to locate elements;1. User uiautomatorviewer.bat under android-sdk/tools/bin 2. User appium Desktop Inspector, a. Start appium dest ...
分类:
移动开发 时间:
2020-01-18 16:57:22
阅读次数:
125
There are n cities and n?-?1 roads in the Seven Kingdoms, each road connects two cities and we can reach any city from any other by the roads. Theon a ...
分类:
其他好文 时间:
2020-01-18 16:46:11
阅读次数:
79
B. Divisors of Two Integers Recently you have received two positive integer numbers xx and y. You forgot them, but you remembered a shuffled list cont ...
分类:
其他好文 时间:
2020-01-18 14:25:38
阅读次数:
98
A. Two distinct points You are given two segments l1;r1 and l2;r2 on the xx-axis. It is guaranteed that l1<r1l1<r1 and l2<r2l2<r2. Segments may inters ...
分类:
其他好文 时间:
2020-01-18 13:03:13
阅读次数:
98