前序中序序列建立二叉树: //in[]和pre[]数组存放二叉树的中序和前序遍历序列 node* build(int preL,int preR,int inL,int inR){ if(preL>preR) return NULL; node* root=(node*)malloc(sizeof( ...
分类:
其他好文 时间:
2020-07-12 16:46:02
阅读次数:
85
代码如下: python fofa.py -s=title="你的关键字" -o="结果输出文件" -c="你的cookie" 代码如下: import requests,time,base64,fire from lxml import etree def fofasc(s,o,c): try: ...
分类:
编程语言 时间:
2020-07-12 16:27:23
阅读次数:
106
在pom.xml中加上以下标签 <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>12</maven.compiler.source> <mav ...
分类:
其他好文 时间:
2020-07-12 14:58:02
阅读次数:
65
https://ac.nowcoder.com/acm/contest/6046/C 二维线段树+区间异或+区间求和 1 #include <iostream> 2 #include <algorithm> 3 #include <cstring> 4 #include <cstdio> 5 usi ...
分类:
其他好文 时间:
2020-07-12 12:31:15
阅读次数:
68
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc ...
分类:
其他好文 时间:
2020-07-11 23:01:52
阅读次数:
48
是在creature_template的表格中修改 # entry, difficulty_entry_1, difficulty_entry_2, difficulty_entry_3, KillCredit1, KillCredit2, modelid1, modelid2, modelid3, ...
分类:
其他好文 时间:
2020-07-11 22:45:37
阅读次数:
84
题意: 给定一棵n个点的树,每个点有点权$G_u$。 你需要回答q次询问,每次询问一条路径$(u,v)$上选一些点的最大异或和。 $n\leq 20000,q\leq 200000,G_u \leq 2^{60}$。 题解: 二合一板子题。写了个树剖发现$O(n\log^{3}{n})$能过,我也不 ...
分类:
其他好文 时间:
2020-07-11 22:37:14
阅读次数:
65
线段树是一种二叉树,也就是对于一个线段,我们会用一个二叉树来表示。
可以进行一些区间的修改和查询。 ...
分类:
其他好文 时间:
2020-07-11 19:21:50
阅读次数:
41
一、下载 官网下载地址:https://www.virtualbox.org/wiki/Download_Old_Builds_6_0 百度网盘地址(6.0.22): https://pan.baidu.com/s/1uY-UHbYCZ1kb0WOVD47PGA 提取码: vggn 修改下安装路径直 ...
分类:
其他好文 时间:
2020-07-11 09:56:58
阅读次数:
170
1、Startup类里先定义一个全局变量: readonly string MyAllowSpecificOrigins = "_myAllowSpecificOrigins";//名字随便起 2、ConfigureServices方法里写如下代码: services.AddCors(options ...
分类:
Web程序 时间:
2020-07-10 09:46:24
阅读次数:
115