Speaking of IE browser, I believe everyone will

2020-08-29
阅读 1 分钟
146
Speaking of IE browser, I believe everyone will not feel unfamiliar. As a fist product developed by Microsoft, the history of IE browser needs to be traced back to 1995. This first-generation browser launched by Microsoft plays an important role and is also the world's most widely used web browse...

According to understanding, this 360 smart

2020-08-29
阅读 1 分钟
622
According to understanding, this 360 smart phone is called 360 S6+, which is a 4G phone. Moreover, its processor is only 1.0GHz, which should be a low-end processor. Therefore, in terms of performance strength, I don't need to explain too much. I know everything. In other respects, the 360 ​​S6+ ...

The rapid rise of Xiaomi in the mobile

2020-08-29
阅读 1 分钟
648
The rapid rise of Xiaomi in the mobile phone industry has made other technology companies rush to imitate Xiaomi's development strategy, such as 360. Speaking of 360 technology, I believe that the first thing you think of is 360 anti-virus software. Indeed, in the field of computer antivirus, 360...

D. Replace by MEX 思维

2020-07-15
阅读 2 分钟
174
给你一个长度为n的序列,值在0到n之间,你每次都可以指定任意一个位置,使这个位置的值变成当前的mex,要求使整个序列变得非递减的,问输出每次操作的下标。答案可任意。

B. Omkar and Last Class of Math 思维lcm

2020-07-15
阅读 1 分钟
130
证明:假设a<=b,则lcm>=b,取最小则自然是lcm==b,lcm>b,最小的就是2b,2b>n故舍去,所以我们要构造lcm=b的解。

Easy Integration 2020牛客多校第一场

2020-07-15
阅读 1 分钟
133
using namespace std;typedef long long ll;const int maxn=2e6+5;int n;ll ans;ll p=998244353;ll num[maxn],numv[maxn];ll mypow(ll x,ll n,ll m){

Cover the Tree 2020牛客第二场

2020-07-15
阅读 1 分钟
135
我们很容易想到,这些链的两端应该是叶子节点,设叶子节点个个数为s,那么我们可以构造出s/2的链,使所有边被覆盖,那么现在难点就在,如果让构造的两个端点不是兄弟,例如

python的列表生成式

2020-07-15
阅读 2 分钟
141
**列表生成式即List Comprehensions**,是`Python`内置的非常简单却强大的可以用来创建list的生成式。 通常我们在循环遍历一个列表时,都是通过`for`循环来完成 ```python L = [] for i in range(1,11) L.append(x*x) ``` 结果如下: ```python [1,4,9,16,25,36,49,64,81,100] ``` 然而,python号称是**人生苦短,我用py...

3-python数据分析-数据分析三剑客之matplotlib绘图

2020-07-15
阅读 1 分钟
152
线性图:plt.plot() 绘制单条线形图 绘制多条线形图 设置坐标系的比例plt.figure(figsize=(a,b)) 设置图例legend() 设置轴的标识 图例保存 fig = plt.figure() plt.plot(x,y) figure.savefig() 曲线的样式和风格(自己研究) # x与y满足什么线性关系,就能绘制出什么样的图片x = np.array([1,2,3,4,5])y = x + 2plt.pl...

Parted分区和创建逻辑卷LVM

2020-07-15
阅读 1 分钟
135
Parted分区和创建逻辑卷LVM Parted分区过程: 1. parted -l #查看所有磁盘状态 2. parted /dev/vdb #通过parted工具来创建大于2T的分区 3. mklabel gpt #创建创建磁盘标签 4. mkpart primary 0% 100% #创建整个分区 5. q #退出

三元表达式 生成式 函数递归

2020-07-15
阅读 5 分钟
122
# 这种写法是比较纯粹的 (以基础水平来说 这种很简单写法是比较正常的) # 但是接下来我们学一种新的简单方法进行写代码!! """ """

DBService流程详解

2020-07-12
阅读 2 分钟
163
DBService是FusionInsight的基础数据库组件,为Loader、Redis、Hive、Metadata、Hue、Oozie等组件提供数据存储、查询、删除等功能

史上最骚RPG制作第三期 java端数据的插入和查询

2020-07-12
阅读 3 分钟
145
在第一个场景我们输入好账号密码和昵称之后,点击开始游戏此时的游戏账号就应该插入到角色这个表里,本期的任务就是了解如何在java里插入数据以及查找数据。

C. RationalLee 思维题

2020-07-12
阅读 1 分钟
172
考虑剩下的情况,现在每组的最大值都是确认的(较大的每组一个),那么我们需要把每组的最小值尽可能地提高,所以我们依次把一个最大值,w[cnt]-1个小值分给cnt号组,cnt从k到1,这样就能使之后的组的最小值尽可能高。

java IO流 (四) 缓冲流的使用

2020-07-11
阅读 3 分钟
149
* BufferedInputStream * BufferedOutputStream * BufferedReader * BufferedWriter

java IO流 (五) 转换流的使用 以及编码集

2020-07-11
阅读 2 分钟
130
1.转换流涉及到的类:属于字符流 InputStreamReader:将一个字节的输入流转换为字符的输入流 解码:字节、字节数组 --->字符数组、字符串

Python进阶--file方法操作

2020-07-09
阅读 2 分钟
257
file方法 file处理文件的一些方法,创建一个file对像后即可对文件进行读写相关操作,首先你得打开文件,此处用到open函数 open函数 语法:file_objcet = open(file_name,access_mode) 实例一: file_name = open(“Python.txt”,” r”) # “Python.txt”将要访问的文件名字,r为只读方式 注:Python.txt是在当前目录,那如果是...