其他
终端输入: vim /etc/docker/daemon.json { "registry-mirrors": ["https://y0qd3iq.mirror.aliyuncs.com"]} 重启:service docker restart 可查看docker info|grep Mirrors ...
分类:其他 时间:2021-08-22 14:29:08 收藏:0 阅读:20
思路 贪心嘛~ 因为一共 \(p\) 个点, 所以在 \(MST\) 中只有 \(p-1\) 条边; 同理, \(s\) 部卫星电话, 可以照顾 \(s-1\) 条边, 那就 Kruskal 最后的 \(s-1\) 条边用卫星电话相连. 所以,当计数器 cnt 计到 大于等于 \((p-1)-(s- ...
分类:其他 时间:2021-08-22 14:28:59 收藏:0 阅读:18
Interval Join KeyedStream,KeyedStream → DataStream # Join two elements e1 and e2 of two keyed streams with a common key over a given time interval, so ...
分类:其他 时间:2021-08-22 14:28:39 收藏:0 阅读:7
赛场上和 cnyz 开黑成功过了 \(6\) 题,上了大分十分开心。 cnyz写了前两题的题解,我糊了最后一题 D Coprime 2 考虑质因数分解,对每个数分解,对质数求并。 那么考虑每一个 \(i\),同样质因数分解即可。 时间复杂度 \(O(N\sqrt{N})\)。 E Chain Con ...
分类:其他 时间:2021-08-22 14:28:17 收藏:0 阅读:6
/** * 1 实现插件,挂载$store * 2 实现store */ let Vue; class Store { constructor(options) { // state响应式处理 // 外部访问: this.$store.state.*** // 第一种写法 // this.state ...
分类:其他 时间:2021-08-22 14:27:42 收藏:0 阅读:14
项目中涉及到一个关于调用华为接口实现破损预警的项目 项目是基于Springboot搭建的,主要controller有 禁用SSL DisableSSLCertificateCheckUtil package XXX.socket.controller; import org.slf4j.Logger ...
分类:其他 时间:2021-08-22 14:27:30 收藏:0 阅读:14
历史 docker 起源2013年 基于 go 开发 docker 优点 docker 可以用来快速交付应用 复杂环境管理,应用管理 轻量级 docker 与虚拟机的区别 容器与容器之间指示进程的隔离,而虚拟机是完全的资源隔离 虚拟机的启动可能需要分钟级别,docker 启动是秒级或者更短 容器使用 ...
分类:其他 时间:2021-08-22 14:26:50 收藏:0 阅读:11
代码: extern crate crypto2; use crypto2::blockcipher::Aes128; fn main() { let key = [ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, ...
分类:其他 时间:2021-08-22 14:26:35 收藏:0 阅读:7
myapp % npm installnpm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. ...
分类:其他 时间:2021-08-22 14:26:24 收藏:0 阅读:9
写90分(省选数据100分)时写挂了,单向边加成双向边233. 很明显,最近的两个点,二进制某一位一定不同。 所以我们依靠二进制的每一位分成A,B组,超级源点连A,B连超级汇点,边权均为0。 然后最短路就是A,B之间的最短路。 #include<bits/stdc++.h> using namesp ...
分类:其他 时间:2021-08-22 14:26:15 收藏:0 阅读:6
1939940941166744
上一页共1667435条下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!