题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6797 题意:给你n个数以及一个特殊数k,你可以将任意两个连续的数合并成一个新的数,同时数组的长度-1,问你进行若干次操作后(可以为0次),最多有多少个数是k的倍数。 思路:遍历数组,定义sum记录其和, ...
分类:
其他好文 时间:
2020-07-29 21:28:55
阅读次数:
87
less-11 uname和passwd直接带入查询,万能密码 sqlmap自动搜索表单,或者抓包后用-r参数 less-12 post数据用小括号进行包裹,构造万能密码") or 1=1 # less-13 将mysql_error()返回前端,且用‘)包裹,构造') or 1=1 # less- ...
分类:
数据库 时间:
2020-07-29 21:24:56
阅读次数:
102
提示: 更新element版本问题,样式问题, 放在el-dialog内样式问题 等等 页面 <el-form-item label="地域限制:"> <el-cascader v-model="cascader" :options="cascaderOptions" :props="{ multi ...
分类:
其他好文 时间:
2020-07-29 17:48:39
阅读次数:
143
DockerFile构建ElasticSearch镜像安装IK中文分词器插件 为什么要安装IK中文分词器? ES提供的分词是英文分词,对中文做分词时会拆成单字而不是词语,非常不好,因此索引信息含中文时需要使用中文分词器插件。 一、环境及文件准备 环境准备 VMWare版本:15.5.5 操作系统:C ...
分类:
其他好文 时间:
2020-07-29 17:44:12
阅读次数:
85
1.图片滚动到可视窗口区域后再进行加载 index.html <img :data-src="subItem.thumbUrl" /> index.js // imgonload这个方法在滚动监听中使用(可添加防抖), imgonload = () => { const img = document ...
分类:
其他好文 时间:
2020-07-29 17:38:18
阅读次数:
58
1004.Tokitsukaze and Multiple 求和为p的倍数的块的最大数量 #include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) for (register in ...
分类:
其他好文 时间:
2020-07-29 17:32:55
阅读次数:
99
XSS(Cross Site Scripting)即跨站脚本攻击,是指由于过滤不当导致恶意代码注入网页,当受害者访问网页时,浏览器执行恶意代码,执行攻击者的攻击行为 ...
分类:
其他好文 时间:
2020-07-29 15:39:02
阅读次数:
76
一、线程queue 1,定义: queue队列 :使用 import queue,用法与进程 Queue一样。 queue is especially useful in threaded programming when information must be exchanged safely b ...
分类:
编程语言 时间:
2020-07-29 15:38:46
阅读次数:
79
11G DG ORA-00600: internal error code, arguments: [kdsgrp1] 备库 Thu Feb 14 09:00:32 2019Errors in file /u01/app/oracle/diag/rdbms/trstdb/trstdb/trace/t ...
分类:
其他好文 时间:
2020-07-29 15:09:55
阅读次数:
78
简述 核心的指令释义 pid 将nginx进程的pid写入文件nginx.pid pid file; pid logs/nginx.pid Context main error_log 配置日志文件,及级别 Syntax: error_log file [level]; Default: error ...
分类:
其他好文 时间:
2020-07-29 14:34:18
阅读次数:
66