码迷,mamicode.com
首页 >  
搜索关键字:le ge lt gt eq ne    ( 256714个结果
堆排序 VS 快速排序 解决 TOP K 问题
解决 TOP k 问题通常可采用 堆排序 和 快速排序的思想 1. 大根堆(前 K 小) / 小根堆(前 K 大): 时间复杂度O(NlogK) c++ STL 中提供了 priority_queue 实现堆的基本功能,比如 priority_queue <int> pq; 堆 pq 的元素都是 i ...
分类:编程语言   时间:2021-05-24 05:41:19    阅读次数:0
videojs的使用
declare var videojs: any <video id="my-player" class="video-js vjs-default-skin vjs-big-play-centered" style="width: 100%;height: 100%;" controls prel ...
分类:Web程序   时间:2021-05-24 05:34:16    阅读次数:0
Vue3 中组件传值emit【Vue2.x向Vue3.x的迁移日记】
子组件 child.vue <template> <div> <p>hello world</p> <button @click="handleClick">click</button> </div> </template> <script lang="ts"> import { defineCom ...
分类:其他好文   时间:2021-05-24 05:33:32    阅读次数:0
魔改VisualStudio2019全透明主题+背景图+特效
#前言 #安装扩展 ##ClaudiIDE ##参考文档 https://www.cnblogs.com/FlyerBird/p/11748899.html> https://blog.csdn.net/qq_43085848/article/details/109923906 ...
分类:其他好文   时间:2021-05-24 05:27:48    阅读次数:0
求逆元
LL qpow(LL x,LL y){ LL ans = 1; for(;y;y>>=1){ if(y&1) ans = (ans*x)%mod; x = (x*x)%mod; } return ans%mod; } LL inv(LL x,LL y){ // x/y; return ( (x%mo ...
分类:其他好文   时间:2021-05-24 05:25:54    阅读次数:0
remote: HTTP Basic:Access denied fatal:Authentication failed for
近来在一天新电脑上面使用git pull 一个项目,老是提示 Access denied, 找了许多方法,ssh key这些都配置了还是不行,当时别提有多尬 这就是clone 时的提示 最终解决方法,控制面板 > 用户账户 然后找到 凭据管理器 选择Windows凭据 如图删除掉之前使用者留下的 凭 ...
分类:数据库   时间:2021-05-24 05:23:44    阅读次数:0
python 矩阵操作--->>np.column_stack用法
#举个栗子如下: x_vals = np.linspace(0, 10, 5) #print(x_vals) [ 0. 2.5 5. 7.5 10. ] 1 2 3 4 #转化数组为矩阵 x_vals_column = np.transpose(np.matrix(x_vals)) #print(x ...
分类:编程语言   时间:2021-05-24 05:23:26    阅读次数:0
只能输入数字和小数点的正则
只能输入数字和小数点的正则 <input type="text" autocomplete="off" id="price" autofocus="autofocus" onkeyup="value=value.replace(/[^\d^\.]+/g,'')"> onkeyup="value=va ...
分类:其他好文   时间:2021-05-24 05:16:05    阅读次数:0
eclipse 打包springboot成jar
因为springboot到生产环境是在部署到jar或者war,推荐用jar比较方便 如下pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xs ...
分类:编程语言   时间:2021-05-24 05:14:52    阅读次数:0
父子组件 踩坑记录
首先说一下父子组件 传参,接参 第一步。导入子组件 例 // const auditTrace_a = () => import ('./auditTrace')异步 import auditTrace_a from './auditTrace' //同步导入 第二步。组件引用 components ...
分类:其他好文   时间:2021-05-24 05:12:40    阅读次数:0
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!