[root@zf-test-web01-4 ~]# file /bin/ls #"/bin/ls" is a binary file /bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (u ...
分类:
系统相关 时间:
2020-06-16 14:52:43
阅读次数:
54
安装openresty 编译安装 yum install pcre-devel openssl-devel gcc curl wget wget https://openresty.org/download/openresty-1.15.8.3.tar.gz tar -xzvf openresty- ...
分类:
其他好文 时间:
2020-06-16 14:49:56
阅读次数:
52
题意 给定$n$和$d$,构造一颗$n$个节点的二叉树(以$1$为根),所有节点到$1$的距离和为$d$,不行输出$NO$,否则输出$YES$和$2$-$n$的父亲编号 分析 最大和显然是一条链,如果最大和仍小于$d$,则不行,否则先构造出一条链,然后枚举当前的层数,如果当前层数的下一层仍然可以填, ...
分类:
其他好文 时间:
2020-06-15 23:14:14
阅读次数:
74
题目: 在一个 N × N 的方形网格中,每个单元格有两种状态:空(0)或者阻塞(1)。 一条从左上角到右下角、长度为 k 的畅通路径,由满足下述条件的单元格 C_1, C_2, ..., C_k 组成: 相邻单元格 C_i 和 C_{i+1} 在八个方向之一上连通(此时,C_i 和 C_{i+1} ...
分类:
其他好文 时间:
2020-06-15 22:31:50
阅读次数:
60
一、实验要求 结合中断上下文切换和进程上下文切换分析Linux内核一般执行过程 以fork和execve系统调用为例分析中断上下文的切换 分析execve系统调用中断上下文的特殊之处 分析fork子进程启动执行时进程上下文的特殊之处 以系统调用作为特殊的中断,结合中断上下文切换和进程上下文切换分析L ...
分类:
系统相关 时间:
2020-06-15 20:48:38
阅读次数:
47
解决方法: do_install() { install -d ${D}${libdir} cp -a --no-preserve=ownership ${S}/libsample.so.3.5 ${D}${libdir} ln -sf libsample.so.3.5 ${D}${libdir}/ ...
分类:
其他好文 时间:
2020-06-15 17:39:20
阅读次数:
122
###ctf-wiki | 栗子1 gcc -g -o test test.c gdb ./test list #回车 查看源代码 一次显示10源代码 b 11 #在11行下断点 对于chunk结构的解析 逐次释放堆,观察对应的内存变化 释放chunk1,内存无变化 接着释放chunk2,内存映射如 ...
分类:
其他好文 时间:
2020-06-15 15:31:06
阅读次数:
48
题目 A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties: The left subtree of a node contains only nod ...
分类:
其他好文 时间:
2020-06-14 20:31:35
阅读次数:
61
Accessing data using cursors ArcGIS 10.7 Locate topic A cursor is a data access object that can be used to either iterate over the set of rows in a ta... ...
分类:
数据库 时间:
2020-06-14 19:00:06
阅读次数:
82
一、安装 前提:已经安装配置 JDK 1)进入官网下载链接 http://maven.apache.org/download.cgi 选择 版本 (Windows -> binary zip; Linux -> binary tar.gz) 2)解压 解压后,将文件夹复制到要保存的目录,如 D:\P ...
分类:
其他好文 时间:
2020-06-14 18:21:23
阅读次数:
72