layout: post title: 「kuangbin带你飞」专题十七 AC自动机 author: "luowentaoaa" catalog: true tags: kuangbin 字符串 AC自动机 传送门 A.HDU2222 Keywords Search 模板题。给出N个单词,后给你一 ...
分类:
其他好文 时间:
2019-01-29 01:10:56
阅读次数:
120
日志记录(Logging) More than : 每次用 terminal debug 时都要手动在各种可能出现 bug 的地方 print 相关信息来确认 bug 的位置; 每次完成 debug 后为了避免输出太多细节信息和代码整洁,又需要把几个关键位置的 print 注释掉甚至删掉; 当下次出 ...
分类:
编程语言 时间:
2019-01-28 23:49:50
阅读次数:
219
帮助广大学生解决抢课问题!自动抢课!! 100行代码帮你实现抢课! 本项目使用了python中splinter的API接口用来操作页面交互,用了twilio用来给手机发送短信通知抢课成功。 欢迎大家来全球最大同性交友网站Github:https://github.com/ ...
分类:
其他好文 时间:
2019-01-28 21:15:02
阅读次数:
356
解码及显示 [TOC] 解码 1. 循环读取视频帧 2. 解码 两个重要的FFmpeg接口: avcodec_send_packet,发送一个包给解码器; avcodec_receive_frame,从解码器取回解码后的数据。 资源清理 ...
分类:
其他好文 时间:
2019-01-28 21:11:20
阅读次数:
348
In the game of Jack Straws, a number of plastic or wooden "straws" are dumped on the table and players try to remove them one-by-one without disturbin ...
分类:
其他好文 时间:
2019-01-28 20:07:49
阅读次数:
119
https://www.jianshu.com/p/63bdeca39ddf 1、文本输入框的创建##### let textField = UITextField(frame: CGRect(x:10, y:60, width:200, height:30)) // let textField = ...
分类:
编程语言 时间:
2019-01-28 16:42:50
阅读次数:
202
textField 基本属性 _textField.frame = CGRectMake(0, 0, 200, 50); _textField.delegate = self; _textField.text = str; [_textField becomeFirstResponder]; /* ...
分类:
其他好文 时间:
2019-01-28 16:40:06
阅读次数:
225
1. 2. 3. 4.当前工作目录,也就是cmd中>前面的的位置 5. 6. 7. 在系统服务中最好用这个方式去取路径 1、判定一个给定的路径是否有效,合法通过Path.GetInvalidPathChars或Path.GetInvalidFileNameChars方法获得非法的路径/文件名字符,可 ...
前言 Elastic Stack 提供 Beats 和 Logstash 套件来采集任何来源、任何格式的数据。其实Beats 和 Logstash的功能差不多,都能够与 Elasticsearch 产生协同作用,而且 logstash比filebeat功能更强大一点,2个都使用是因为:Beats 是 ...
分类:
其他好文 时间:
2019-01-28 13:55:25
阅读次数:
528
链接:https://vjudge.net/problem/POJ-1251 题意: 热带岛屿Lagrishan的头长老有问题。几年前,在村庄之间的额外道路上花了一大笔外援资金。但丛林无情地超越了道路,因此大型公路网络的维护成本太高。长老理事会必须选择停止维持一些道路。左上方的地图显示了现在使用的所 ...
分类:
其他好文 时间:
2019-01-28 13:54:07
阅读次数:
156