B - Lucky Mask Petya loves lucky numbers very much. Everybody knows that lucky numbers are positive integers whose decimal record contains only the lu ...
分类:
其他好文 时间:
2020-12-25 12:22:13
阅读次数:
0
场景 有一批ARM板出来全都是同一个MAC地址: 08:00:27:00:01:92 这就导致获取的IP都是一样的,需要让他们启动后获取各自不一样的IP,因此每个板子都需要获得其自己的MAC地址(后三个BYTE区分身份): 08:00:27:XX:XX:XX 解决方案 用shell脚本来实现随机的M ...
分类:
系统相关 时间:
2020-12-24 12:01:41
阅读次数:
0
实在不知道错哪了。。。 对着 std 检查了好几遍了QAQ 题解见注释(不过估计题解也是错的,不然为什么写错啊QAQ #include<bits/stdc++.h> using namespace std; const int N=1<<16; int m,n,a,b; double pr[N],s ...
分类:
其他好文 时间:
2020-12-24 11:31:40
阅读次数:
0
简单线段树操作 咕咕咕 Transformation HDU - 4578 vj talk is cheap, chow the code. #include <iostream> #include <cstring> using namespace std; typedef long long l ...
分类:
其他好文 时间:
2020-12-23 12:30:38
阅读次数:
0
/*Hatsune Miku 4ever!*/ #include <bits/stdc++.h> using namespace std; typedef long long ll; #define _for(i,a,b) for(int i = (a);i < b;i ++) #define _r ...
分类:
其他好文 时间:
2020-12-23 11:47:45
阅读次数:
0
/*Hatsune Miku 4ever!*/ #include <bits/stdc++.h> using namespace std; typedef long long ll; #define _for(i,a,b) for(int i = (a);i < b;i ++) #define _r ...
分类:
编程语言 时间:
2020-12-23 11:45:22
阅读次数:
0
首先介绍edge开发者工具中,调试时使用最多的三个功能页面是:元素(ELements)、控制台(Console)、源代码(Sources),此外还有网络(Network)等。 元素(Elements):用于查看或修改HTML元素的属性、CSS属性、监听事件、断点等。 控制台(Console):控制台 ...
分类:
其他好文 时间:
2020-12-23 11:44:31
阅读次数:
0
/*Hatsune Miku 4ever!*/ #include <bits/stdc++.h> using namespace std; typedef long long ll; #define _for(i,a,b) for(int i = (a);i < b;i ++) #define _r ...
分类:
其他好文 时间:
2020-12-23 11:43:21
阅读次数:
0
前因: 被自动续费的服务器搁置没用, 所以打算搞一个jupyter notebook放到上面 服务器被恶意登录, 虽然没有登录上但是还是很不爽 过程 修改/etc/ssh/sshd_config中的Port, 改成新的端口 重启network, 发现不生效 重启sshd服务, 发现服务重启失败 关闭 ...
分类:
其他好文 时间:
2020-12-22 12:28:21
阅读次数:
0
不同的版本配置项可能不同:本文使用的 mongodb-win32-x86_64-2012plus-4.2.11-signed.msi mongod.cfg 默认占用内存为 0.5*(物理内存-1)如内存8G => 0.5*(8-1)=> 3.5G # mongod.conf # for docume ...
分类:
数据库 时间:
2020-12-22 12:05:56
阅读次数:
0