动态开点线段树 题目暗示了区间修改,所以我们自然想到了用线段树来维护 非工作日 的天数。 然而我们再看一下数据范围,天数n的范围是$1 \le n \le 10^9$,像普通线段树一样预处理显然会爆空间。 天无绝人之路,我们看一下修改个数,$1\le q \le 3 \cdot 10^5 $, 比天 ...
分类:
其他好文 时间:
2018-11-24 21:32:39
阅读次数:
204
一、SERDES介绍 随着大数据的兴起以及信息技术的快速发展,数据传输对总线带宽的要求越来越高,并行传输技术的发展受到了时序同步困难、信号偏移严重,抗干扰能力弱以及设计复杂度高等一系列问题的阻碍。与并行传输技术相比,串行传输技术的引脚数量少、扩展能力强、采用点对点的连接方式,而且能提供比并行传输更高 ...
分类:
其他好文 时间:
2018-11-22 00:31:53
阅读次数:
208
# uname -a # 查看内核/操作系统/CPU信息 # head -n 1 /etc/issue # 查看操作系统版本 # cat /proc/cpuinfo # 查看CPU信息 ① 查看物理CPU的个数#cat /proc/cpuinfo |grep "physical id"|sort | ...
分类:
系统相关 时间:
2018-11-12 13:17:43
阅读次数:
230
说明:Linux下可以在/proc/cpuinfo中看到每个cpu的详细信息。但是对于双核的cpu,在cpuinfo中会看到两个cpu。常常会让人误以为是两个单核的cpu。原文地址: http://www.hpboys.com/659.html一、linux CPU大小 [root@idc ~]# ...
分类:
系统相关 时间:
2018-11-06 11:04:55
阅读次数:
219
1.pwd Print the current working directory. With the -P option, pwd prints the physical directory, without any symbolic links; the -L option makes pwd ...
分类:
系统相关 时间:
2018-11-04 11:07:11
阅读次数:
189
1、查看 CPU 物理个数 grep 'physical id' /proc/cpuinfo | sort -u | wc -l 2、查看 CPU 核心数量 grep 'core id' /proc/cpuinfo | sort -u | wc -l 3、查看 CPU 线程数 grep 'proce ...
分类:
其他好文 时间:
2018-11-03 02:18:15
阅读次数:
520
[root@www.hnidcla.com]#fdisk-l查看磁盘分区信息Disk/dev/sda:107.4GB,107374182400bytes255heads,63sectors/track,13054cylindersUnits=cylindersof16065*512=8225280bytesSectorsize(logical/physical):512bytes/512bytes
分类:
其他好文 时间:
2018-11-02 20:25:54
阅读次数:
693
根据官方文档提示未来Microsoft SQL Server 版本将会移除此功能; 建议改使用: sys.dm_db_index_physical_stats 字段 avg_fragmentation_in_percent 表示索引碎片的密度,可以接受的百分比是从0到10%,根据碎片的百分比,选择重 ...
分类:
数据库 时间:
2018-10-23 16:24:08
阅读次数:
237
Description For their physical fitness program, N (2 ≤ N ≤ 1,000,000) cows have decided to run a relay race using the T (2 ≤ T ≤ 100) cow trails throu ...
分类:
其他好文 时间:
2018-10-23 12:07:19
阅读次数:
190
Chrome Foundation Services Contents Overview API Standards Service Directory Structure Dependencies Physical Packaging Additional Documentation Relati ...
分类:
其他好文 时间:
2018-10-16 20:54:40
阅读次数:
207