1.什么是栈 栈是 OI 中常用的一种线性数据结构,栈的修改是按照后进先出的原则进行的,因此栈通常被称为是后进先出(last in first out)表,简称 LIFO 表。 2.基本操作 1.初始化 2.判空 3.求栈中实际元素个数 4.进栈 5.出栈 6.取栈顶元素 此处只给出了其中三步骤 3 ...
分类:
其他好文 时间:
2021-03-01 12:51:40
阅读次数:
0
用户主题宽表 类似累积事实表 drop table if exists dwt_user_topic; create external table dwt_user_topic ( user_id string comment '用户 id', login_date_first string com ...
分类:
其他好文 时间:
2021-02-26 13:12:24
阅读次数:
0
对于如下代码的,它的打印结果是什么 NSThread *thread = [[NSThread alloc] initWithBlock:^{ NSLog(@"1"); }]; [thread start]; [self performSelector:@selector(testhaha) onT ...
分类:
编程语言 时间:
2021-02-24 13:19:34
阅读次数:
0
函数原型: template <class InputIterator, class UnaryPredicate> bool any_of (InputIterator first, InputIterator last, UnaryPredicate pred); 在范围[first, last ...
分类:
编程语言 时间:
2021-02-24 13:15:12
阅读次数:
0
检查文件是否存在、可读等等 File file = new File("out.txt") println file.exists() println file.canRead() 向文件写入文本 File file = new File("out.txt") file.write "First l ...
分类:
其他好文 时间:
2021-02-24 13:10:56
阅读次数:
0
insert into table ads_new_mid_count select '2020-03-12', count(*) from dwt_uv_topic where login_date_first='2020-03-12' group by login_date_first; ...
分类:
其他好文 时间:
2021-02-24 13:05:56
阅读次数:
0
冗余路径 \(\href{https://www.acwing.com/solution/content/20697/}{边连通分量}\) \(本题是等价于加入最少边是整个图变成边连通分量(没有桥)\) #include <bits/stdc++.h> using namespace std; #d ...
分类:
其他好文 时间:
2021-02-22 12:51:09
阅读次数:
0
钓鱼文件在护网中起着重要的作用,今天我就来演示几种比较常见的钓鱼文件(大佬勿喷) 一、office宏攻击 宏是微软公司为其OFFICE软件包设计的一个特殊功能,有着独特的文件后缀名,如:xlsm,docm,pptm等。 1.msf生成payload msfvenom -p windows/meter ...
分类:
其他好文 时间:
2021-02-22 12:39:33
阅读次数:
0
1.DOM查询 - 通过具体的元素节点来查询 - 元素.getElementsByTagName() - 通过标签名查询当前元素的指定后代元素 - 元素.childNodes - 获取当前元素的所有子节点 - 会获取到空白的文本子节点 - 元素.children - 获取当前元素的所有子元素 - 元 ...
分类:
其他好文 时间:
2021-02-22 12:35:51
阅读次数:
0
JavaScript基础 1- 初识JavaScript 1.1 JavaScript 是什么 JavaScript是一种运行在客户端的脚本语言,现基于Node.js技术进行服务端编程; 所谓脚本(Script)语言:是运行时不需要编译,运行过程中由 js 解释器( js 引擎)逐行来进行解释并执行 ...
分类:
编程语言 时间:
2021-02-22 12:18:35
阅读次数:
0