Given a positive integer X, an X-factor chain of length m is a sequence of integers, 1 = X0, X1, X2, …, Xm = X satisfying Xi < Xi+1 and Xi | Xi+1 wher ...
分类:
其他好文 时间:
2020-02-10 18:10:40
阅读次数:
107
一、Connect DataStream,DataStream -> ConnectedStream,连接两个保持他们类型的数据流,两个数据流被Connect之后,只是被放在了同一个流中,内部依然保持各自的数据和形式 不发生任何变化,两个流相互独立。 import org.apache.flink. ...
分类:
其他好文 时间:
2020-02-09 16:28:07
阅读次数:
97
题意: 求数字11212312341234512345612345671234567812345678912345678910123456789101112345678910111212345678910111213...的第i位是几? 数位dp打表+二分+暴力模拟 0msAC哦!暴力美学! 1 # ...
分类:
编程语言 时间:
2020-02-07 20:49:10
阅读次数:
70
C++ vector 容器浅析 摘自:https://www.runoob.com/w3cnote/cpp-vector-container-analysis.html 一、什么是vector? 向量(Vector)是一个封装了动态大小数组的顺序容器(Sequence Container)。跟任意其 ...
分类:
编程语言 时间:
2020-02-07 16:34:40
阅读次数:
78
A binary search tree is uniquely determined by a given ordered insertions of a sequence of positive integers. On the other hand, a given binary search ...
分类:
其他好文 时间:
2020-02-07 10:53:55
阅读次数:
85
Sequence Sorting CodeForces - 1223D 题解:把它想象成单个数字的同等操作,需要移动次数是数据种类数-最长上升子序列长度,多个同理,所以记录每个数影响区间当成单个数做就行了 代🐎 #include <cstdio> #include <algorithm> #inc ...
分类:
其他好文 时间:
2020-02-05 12:04:32
阅读次数:
84
为什么tcp连接需要三次握手才能建立连接 主要是为了初始化sequence number的初始值,通信的双方要互相通知双方的sequence number,这个要作为以后数据通信的序号,保证以后不会因为网络上的传输问题而乱序,tcp会使用这个序号来拼接数据。因此,在服务器回发它的sequence n ...
分类:
其他好文 时间:
2020-02-04 23:58:58
阅读次数:
135
Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or ...
分类:
其他好文 时间:
2020-02-03 09:33:29
阅读次数:
72
#include<bits/stdc++.h> using namespace std; void read(int &x){ x=0;int f=1;char ch=getchar(); for(;!isdigit(ch);ch=getchar())if(ch=='-')f=-f; for(;is ...
分类:
其他好文 时间:
2020-02-02 17:26:24
阅读次数:
48
逗号分隔字段,序列化表方法实现列转行 qujing表: 创建序列表: create table tb_sequence(id int auto_increment not null,primary key(id)); insert into tb_sequence values(),(),(),() ...
分类:
其他好文 时间:
2020-02-02 13:55:59
阅读次数:
65