emmm....查了半天的错,原来是read()函数的问题,气skr人 splay树真快乐,好多实现的模版,总算找到一个容易的 老规矩,模版链接:https://blog.csdn.net/Emm_Titan/article/details/103910330 题目链接:https://www.lu ...
分类:
其他好文 时间:
2021-02-01 11:44:23
阅读次数:
0
在用户目录.cargo目录新建config文件,把以下配置复制到文件中 [source.crates-io] registry = "https://github.com/rust-lang/crates.io-index" replace-with = 'ustc' [source.ustc] # ...
分类:
其他好文 时间:
2021-02-01 11:41:55
阅读次数:
0
# 查找进程文件位置 [toc] ## wmic ```txt 1. 使用get查询 wmic process get name,executablepath 2 无条件查询 wmic process list brief wmic process list full 3 加where条件查询 wm ...
分类:
系统相关 时间:
2021-01-30 12:08:54
阅读次数:
0
在项目中建的app中可直接新建templates文件,跟static文件 此时,不用设置settings,然后 在html中引入 <link rel="stylesheet" href="{% static 'css/index.css' %}"> <script src="{% static 'j ...
分类:
其他好文 时间:
2021-01-30 12:02:56
阅读次数:
0
抓包示例 root@python:~# tcpdump -n -S tcp port 5009 # -S 参数的目的是获得ack的绝对值,不加该参数,第三次握手的ack为相对值1 tcpdump: verbose output suppressed, use -v or -vv for full p ...
分类:
其他好文 时间:
2021-01-30 11:57:32
阅读次数:
0
题意 数据范围 \(0 \leq W,H \leq 100\), \(0 \leq 星群数量 \leq 500\), \(0 \leq 不相似星群数量 \leq 26\), \(1 \leq 星群中星星的数量 \leq 160\) 思路 这个的关键主要是找到判定两个星群相似的方法。 下面有一个定理: ...
分类:
其他好文 时间:
2021-01-29 12:05:43
阅读次数:
0
一、事件 1.事件绑定 (1)es5方式 <button onClick={ this.start }>开始</button> 上面的写法,对应的函数中获取不到this指向 <button onClick={ this.start.bind(this) }>开始</button> (2)es6方式 ...
分类:
其他好文 时间:
2021-01-29 11:59:22
阅读次数:
0
可以在运行app的时候像打开浏览器的F12一样 vConsole-npm vConsole-github 在index.html中添加 <script src="http://wechatfe.github.io/vconsole/lib/vconsole.min.js?v=3.2.0"></scr ...
分类:
移动开发 时间:
2021-01-29 11:54:41
阅读次数:
0
继上一篇的授权码授权模式,这篇会继续实现混合授权模式 首先修改Config.cs 添加Client new Client { ClientId = "hybrid_client", ClientName = "hybrid Auth", ClientSecrets = { new Secret("h ...
分类:
其他好文 时间:
2021-01-29 11:49:14
阅读次数:
0
/** * 直接使用 */ var scripts = document.getElementsByTagName("script"); for (var i = 0; i < scripts.length; i++) { scripts[i].parentNode.removeChild(scri ...
分类:
编程语言 时间:
2021-01-28 12:27:14
阅读次数:
0