首页 > 其他
批处理文件备忘
在一个批处理文件中调用其他批处理或可执行文件,有两种方式。 第一种 使用call 1.bat需要调用2.bat和3.bat @echo off call 2.bat call 3.bat 这种写法在实际执行时,首先运行2.bat,执行完后才会继续执行3.bat 第二种 使用start 1.bat需要 ...
分类:其他   时间:2021-06-04 22:27:34    收藏:0  评论:0  赞:0  阅读:18
P2766 最长不下降子序列问题
【题意】 【分析】 第一问直接$n^2的LIS即可 第二问我们开始用到这种套路的LIS网络流建图方式了 【代码】 #include<bits/stdc++.h> using namespace std; #define mp make_pair #define fi first #define se ...
分类:其他   时间:2021-06-04 22:27:03    收藏:0  评论:0  赞:0  阅读:32
what is the lexical scope
Why I write First of all, write down the whole process of how I encountered these problems when I learned how to overload the function call operator, ...
分类:其他   时间:2021-06-04 22:26:50    收藏:0  评论:0  赞:0  阅读:19
1020 逆序排列
算法分析 设 \(f(n, k)\) 表示 \(n\) 个数的排列中逆序数为 \(k\) 的排列数。 最大的数 \(n\) 可能排在第 \(n - i\) 位,从而产生 \(i\) 个与 \(n\) 有关的逆序对,去掉 \(n\) 之后,剩下的 \(n - 1\) 个数的排列中有 \(k - i\) ...
分类:其他   时间:2021-06-04 22:26:11    收藏:0  评论:0  赞:0  阅读:34
Redis 版本差异
Redis 2.8 vs 5.0 release notes 3.0 3.2 4.0 5.0 non-backward compatible list 2.8 vs 3.0: The log format was modified. The prefix of each line included ...
分类:其他   时间:2021-06-04 22:25:37    收藏:0  评论:0  赞:0  阅读:24
密码脱落 (区间DP)
题目:密码脱落 思路:区间dp,最长回文子序列变形. 解析:设dp[l][r]为l->r至少需要补回dp[l][r]个字符后该子序列才能形成一个回文串. str[l] = str[r]:dp[l][r] = dp[l+1][r-1]; str[l] != str[l]:dp[l][r] = min( ...
分类:其他   时间:2021-06-04 22:25:06    收藏:0  评论:0  赞:0  阅读:25
verilog modelsim 对文件进行仿真读写
当需要对大量数据进行仿真验证时,可使用文件的读写方式验证; 1.仿真文件读取($readmemb,$readmemh) 1.1二进制文件读取 (1)$readmemb("<数据文件名>",<存储器名>); (2)$readmemb("<数据文件名>",<存储器名>,<起始地址>); (3)$read ...
分类:其他   时间:2021-06-04 22:24:52    收藏:0  评论:0  赞:0  阅读:29
React Native 使用小记(透明色、行间距、字体加粗等)
项目中我们会经常使用到一些属性,下面简记下自己使用的 1、透明色 transparent 2、View默认的色值就是transparent 3、字体加粗 fontWeight(一般会根据设计统一调整) this.isAndroid()?'200':'bold'; 4、圆角 borderRadius ...
分类:其他   时间:2021-06-04 22:24:03    收藏:0  评论:0  赞:0  阅读:37
zookeeper与卡夫卡集群搭建
首先这片博客没有任何理论性的东西,只是详细说明kafka与zookeeper集群的搭建过程,需要三台linux服务器。 java环境变量设置 zookeeper集群搭建 kafka集群搭建 java环境变量设置 在每台服务器上都有设置java环境变量 这里使用java源码安装的方式: 下载源码包解压
分类:其他   时间:2021-06-04 22:23:48    收藏:0  评论:0  赞:0  阅读:18
P4111 [HEOI2015]小 Z 的房间(矩阵-树定理)
矩阵-树定理 (\(Kirchhoff's\ \ matrix\ \ tree\ \ theorem\)) 前言: 首先这个玩意集训的时候就已经讲过了。 但是当时并没有认真听。 现在回头看这玩意…… 前置知识: \(1\):拉普拉斯 矩阵 极其重要 \(2\):行列式 极其重要 \(3\):高斯消元 ...
分类:其他   时间:2021-06-04 22:23:06    收藏:0  评论:0  赞:0  阅读:25
[AWS - DA] Cognito
The following table summarizes some of the customizations that can be made: User Pool FlowOperationDescription Custom Authentication Flow Define Auth ...
分类:其他   时间:2021-06-04 22:22:23    收藏:0  评论:0  赞:0  阅读:22
Nginx emerg 8080 failed address family not supported by protocal
原因 ng配置里有一项是接收ipv6地址 与IPV6有关,Address family not supported by protocol也进一步印证了 ipv6 is disabled on your server. 解决办法1 修改配置,将ipv6相关配置注释,也就是下面第二行 listen 8 ...
分类:其他   时间:2021-06-04 22:21:31    收藏:0  评论:0  赞:0  阅读:22
leetcode-螺旋矩阵(指针)
给你一个 m 行 n 列的矩阵 matrix ,请按照 顺时针螺旋顺序 ,返回矩阵中的所有元素。 示例 1: 输入:matrix = [[1,2,3],[4,5,6],[7,8,9]] 输出:[1,2,3,6,9,8,7,4,5] 示例 2: 输入:matrix = [[1,2,3,4],[5,6, ...
分类:其他   时间:2021-06-04 22:20:00    收藏:0  评论:0  赞:0  阅读:18
理解事件触发,事件捕获,事件冒泡
1. 事件对象: 事件触发时自动创建的,封装了事件发生的元素和属性的信息。(存在event信息里面) 2. 事件周期:事件捕获、事件对象的触发,冒泡触发 3. 事件冒泡的应用: (1)阻止冒泡 e.stopPropagation(); IE: e.cancelBubble = true; (2)事件 ...
分类:其他   时间:2021-06-04 18:10:34    收藏:0  评论:0  赞:0  阅读:34
常用阻止默认行为的两种方式
1 <!DOCTYPE html> 2 <html lang="en"> 3 4 <head> 5 <meta charset="UTF-8"> 6 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 7 <meta name="viewpor ...
分类:其他   时间:2021-06-04 18:10:02    收藏:0  评论:0  赞:0  阅读:28
日常编码小技巧
Java基础: List转Map集合: 1 class ConvertUtil { 2 3 private ConvertUtil() { 4 } 5 /** 6 * 将List转为Map 7 * 8 * @param list 原数据 9 * @param keyExtractor Key的抽取规 ...
分类:其他   时间:2021-06-04 18:09:48    收藏:0  评论:0  赞:0  阅读:29
08-决策树与随机森林
![image](https://img2020.cnblogs.com/blog/2380476/202106/2380476-20210604141222128-842743431.png) ![image](https://img2020.cnblogs.com/blog/2380476/20... ...
分类:其他   时间:2021-06-04 18:09:30    收藏:0  评论:0  赞:0  阅读:33
1364. 序言页码
同12. 整数转罗马数字 pair<int,string> mp[]={ {1000, "M"}, {900, "CM"}, {500, "D"}, {400, "CD"}, {100, "C"}, {90, "XC"}, {50, "L"}, {40, "XL"}, {10, "X"}, {9, ...
分类:其他   时间:2021-06-04 18:08:26    收藏:0  评论:0  赞:0  阅读:26
Configuring a Composite primary key or Foreign Key 复合主键外键的写法
If the primary key on the Department type consisted of DepartmentID and Name properties, you would configure the primary key for the Department and th ...
分类:其他   时间:2021-06-04 18:07:51    收藏:0  评论:0  赞:0  阅读:27
农业知识图谱项目安装
项目地址: qq547276542/Agriculture_KnowledgeGraph: 农业知识图谱(AgriKG):农业领域的信息检索,命名实体识别,关系抽取,智能问答,辅助决策 (github.com) 1.安装Neo4j docker run -d --name neo4j -p 7474 ...
分类:其他   时间:2021-06-04 18:07:42    收藏:0  评论:0  赞:0  阅读:25
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!