#非直通技术 上集<https://www.bilibili.com/video/BV1H4411d7wf 下集<自动连播 直通技术VT-D <https://www.bilibili.com/video/BV1r4411r7Fv #重点在网络结构理解 ...
Redis 主备复制 1 相关配置: 1) replicaof <masterip> <masterport> 2) masterauth <master-password> 设置时候 replica 在发送同步相关的命令时会被要求 authenticate 3) masteruser <usern ...
分类:
其他好文 时间:
2021-05-23 23:35:00
阅读次数:
0
#include<iostream> #include<cstring> #include<string> #include<stdio.h> using namespace std; void print(int n,char *x,char *y) { if(n<=0) return; int ...
分类:
其他好文 时间:
2021-05-23 23:32:39
阅读次数:
0
#数方格 输入格式: 第一行两个整数n和m,表示用于建造广场区域的长和宽。 输出格式: 一个整数,建造广场的可行方案数。 /#include using namespace std; int cnt = 0; int main() { int n, m; cin >> n >> m; for (in ...
分类:
其他好文 时间:
2021-05-23 23:27:37
阅读次数:
0
在上一篇《WPF中的数据绑定3——使用INotifyPropertyChanged接口1》,实现了使用INotifyPropertyChanged接口进行数据绑定,但是这里面有个问题,就是每添加一个属性必须要在每个属性的set方法中使用PropertyChanged?.Invoke(this, ne ...
题目 Atcoder 思路 代码 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N = 4000010, mod = 1e9 + 7; int n, k, fact ...
分类:
其他好文 时间:
2021-05-23 23:13:50
阅读次数:
0
很多朋友都知道,ffmpeg是一个功能强大的多媒体处理工具,可惜它并不是java语言开发,如果需要在java项目中使用时,得自己写很多代码,幸好github上有一个开源项目jave2 把ffmpeg做了封装,很大程度上简化了开发,使用方法如下: 先添加依赖项 <dependency> <groupI ...
分类:
其他好文 时间:
2021-05-23 23:13:38
阅读次数:
0
新建springboot项目 相关依赖 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </depende ...
分类:
其他好文 时间:
2021-05-23 23:13:22
阅读次数:
0
原题链接 考察:floyd 思路: 很明显的传递闭包,但是我们直接敲板子上去会TLE.神级剪枝在floyd的第三重循环,如果g[i][k] = 0那么第三重循环没必要进行. 1 #include <iostream> 2 #include <cstring> 3 using namespace st ...
分类:
其他好文 时间:
2021-05-23 23:11:48
阅读次数:
0
考场 \(65+5+0\),并列 rk2 最高分 \(55+10+10\) T1:等比数列可以写作 \(q^kx\),发现 \(q\le1000\) 且有一档分为 \(a_i\le100\),想到 \(2^{60}>10^{18}\),即等比数列的长度最多为 \(59\),这样枚举的区间就从 \(n ...
分类:
其他好文 时间:
2021-05-23 23:11:28
阅读次数:
0