include #include typedef struct{ char *ch; int length; }string; void strinsert(string &s,int pos,string t){ if(poss.length+1) exit(0); if(t.length){ i... ...
分类:
其他好文 时间:
2019-05-11 21:45:43
阅读次数:
127
Centos安装指定版本的Docker安装kubernetes集群,有些版本对docker版本有要求,简单整理安装指定版本docker版本如下:kubernetes版本依赖确认:https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.14.md#external-dependencies删除现有版本docker版本yumre
分类:
其他好文 时间:
2019-05-10 09:18:42
阅读次数:
158
题面 这道题超级可爱呢,珂朵莉最可爱了,不,小哀才是最可爱的呢 很好的题,可以考虑用线段树维护,hale表示线段树思路很难,而且难打,不如滚去写珂朵莉树哦 对于操作一:直接将set修改插入即可 对于操作三:最大连续子段和(线段树里面是这样叫的吧)维护即可 对于操作二:我们发现可以考虑先将这段区间里面 ...
分类:
其他好文 时间:
2019-05-09 13:56:42
阅读次数:
153
说明:num_words的参数设置,对应着sequences_to_matrix方法返回的arrray的shape[1],用于约束返回数组的第2个维度。对texts_to_sequences(texts)等不起作用 ...
分类:
其他好文 时间:
2019-05-08 21:33:51
阅读次数:
129
第一种方式 修改Centos os 在安装的时候配置网卡名称为eth0 1、在系统启动过程中,出现引导安装界面的同时,按下TAB键 2、在底部修改内核选项 net.ifnames=0 biosdevname=0 回车,安装OS 第二种方式 安装系统后的修改方法 1、编辑网卡信息 cd /etc/sy ...
分类:
其他好文 时间:
2019-05-08 17:25:37
阅读次数:
160
1 package aaa; 2 3 class Instrument { 4 public void play () { 5 System.out.println("弹奏乐器:"); 6 } 7 } 8 9 class Wind extends Instrument { 10 public voi... ...
分类:
其他好文 时间:
2019-05-07 11:33:31
阅读次数:
140
java的继承 package Music; public class Music { public void tune(Instrument i){ i.play(); } public static void main(String args[]){ Music a=new Music(); I ...
分类:
其他好文 时间:
2019-05-05 23:26:19
阅读次数:
144
Git中显示:Another git process seems to be running in this repository, e.g.an editor opened by 'git commit'. Please make sure all processesare terminated ...
分类:
其他好文 时间:
2019-05-04 14:42:56
阅读次数:
148