在进行广域网模拟环境实验时;用到的 virtalbox host-only 网络,会在链路层广播数据包;如果此时windows 网卡开启了数据包转发,那么不能保证流量走wanem;所以现在需要进行设置: 通过注册表进行设置:regedit HKEY_LOCAL_MACHINE\SYSTEM\Curr ...
毫秒计算 long startTime = System.currentTimeMillis(); //获取开始时间 // do Something long endTime = System.currentTimeMillis(); //获取结束时间 System.out.println("程序运 ...
分类:
编程语言 时间:
2020-11-23 12:21:38
阅读次数:
8
MongoDB是基于分布式文件存储的数据库。 MongoDB 是一个高性能,开源,无模式的文档型数据库,是当前 NoSql 数据库中比较热门的一种。 他支持的数据结构非常松散,是类似 json 的 bjson 格式,因此可以存储比较复杂的数据类型。 MongoDB 最大的特点是他支持的查询语言非常强 ...
分类:
编程语言 时间:
2020-11-21 12:40:28
阅读次数:
25
##题面 You are given a sequence of n integers a1 , a2 , ... , an in non-decreasing order. In addition to that, you are given several queries consisting ...
分类:
其他好文 时间:
2020-11-21 12:28:36
阅读次数:
7
###P3899 [湖南集训]谈笑风生 二维数点问题,主席树模板(两种写法 #include<bits/stdc++.h> #define IL inline #define LL long long #define pb push_back using namespace std; const i ...
分类:
其他好文 时间:
2020-11-21 12:15:18
阅读次数:
7
DateTimeFormatter formatter= DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");//对象转字符串String timeStr = formatter.format(LocalDateTime.now());System. ...
分类:
编程语言 时间:
2020-11-20 12:18:29
阅读次数:
24
创建: 2020/11/16 简介 运行环境(runtime)相关 静态变量 in InputStream的指针 out PrintStream的指针 实例方法 println print err PrintStream的指针 静态方法 void exit(int code) 0为正常 long c ...
分类:
编程语言 时间:
2020-11-20 12:15:26
阅读次数:
10
A 输入,第i个人把礼物给了谁,输出,第i个人的礼物是谁给的 #include<bits/stdc++.h> using namespace std; typedef long long ll; #define ture true int main() { int n,flag=0,a[200],b ...
分类:
其他好文 时间:
2020-11-20 11:48:21
阅读次数:
6
给当前页面的最外层div class 加样式 /deep/ html, .home { position: fixed; height: 100%; width: 100%; background-color: #658ea9 !important; } 这是效果 ...
分类:
其他好文 时间:
2020-11-20 11:36:45
阅读次数:
25
漫画:删去k个数字后的最小值本期封面作者:蒲公英—————第二天—————什么意思呢?让我们举几个栗子:给定整数1593212,删去3个数字,新整数的最小情况是1212给定整数30200,删去1个数字,新整数的最小情况是200给定整数10,删去2个数字,新整数的最小情况是0需要注意的是,给定的整数大小可以超过long类型的范围,所以需要用字符串来表示。————————————我们来举一个栗子:给定
分类:
其他好文 时间:
2020-11-19 12:07:40
阅读次数:
4