码迷,mamicode.com
首页 >  
搜索关键字:sed 基本用法    ( 12859个结果
背包dp(多重)
http://acm.hdu.edu.cn/showproblem.php?pid=1059 多重背包题; 如果sum奇数直接continue;不是奇数则判断dp[sum/2]能不能到达; 即dp[sum/2]的方案数是否为0; 注意输出格式!!! 1 #include<bits/stdc++.h> ...
分类:其他好文   时间:2020-07-05 22:54:20    阅读次数:81
Shell中的变量(二)
Shell中的变量(二) 特殊变量:$n 基本用法 特殊变量:$#:获取所参数的个数 特殊变量:$*,#@ 特殊变量:$? ...
分类:系统相关   时间:2020-07-05 19:39:51    阅读次数:59
求不同的子串种类
题:http://hihocoder.com/problemset/problem/1445 分析:后缀自动机模板 #include<iostream> #include<algorithm> #include<cstring> #include<cstdio> using namespace st ...
分类:其他好文   时间:2020-07-05 15:17:04    阅读次数:69
kube-flannel.yml 修改quay.io镜像地址解决flannel Init:ImagePullBackOff错误
在安装k8s过程中,执行kubectl apply -f kube-flannel.yml,会出现flannel Init:ImagePullBackOff错误,原因是quay.io镜像地址在国内访问不了,执行命令 sed -i 's/quay.io/quay-mirror.qiniu.com/' ...
分类:其他好文   时间:2020-07-05 10:35:19    阅读次数:281
JSX本质
1.JSX的使用 class JSXBaseDemo extends React.Component { constructor(props) { super(props) this.state = { name: 'xiaoming', imgUrl: 'https://img1.mukewang ...
分类:Web程序   时间:2020-07-04 20:48:13    阅读次数:84
Python Faker随机生成测试数据(干货)
前言 Faker是一个Python软件包,可为您生成伪造数据。无论您是需要引导数据库,创建美观的XML文档, 填充持久性以进行压力测试还是匿名化来自生产服务的数据,Faker都是您的理想之选。不论您这边需要创建多少条数据,无非是一个for循环就解决问题了。 基本用法 用pip安装:pip insta ...
分类:编程语言   时间:2020-07-04 20:33:02    阅读次数:276
06.vue-charp-06 表单与v-model
何使用指令v-model完成表单的数据双向绑定。 基本用法 <body> <div id="app"> <input type="text" v-model="name" placeholder="你的名字" /> <h1>你好,{{name}}</h1> </div> <script src=". ...
分类:其他好文   时间:2020-07-04 19:09:27    阅读次数:98
jquery基本用法
jQuery: 将复杂的js操作封装的很简单,支持链式操作, 在各大浏览器里面都兼容,不需要考虑兼容性问题. jquery引入: 外部网址引入 <!--<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.js"></script>--> ...
分类:Web程序   时间:2020-07-04 15:13:19    阅读次数:83
完美解决 python ImportError: Failed to import any qt binding
问题背景 在ContOS服务器上测试项目 解决方案 谷歌查询 解决步骤 降低matplotlib版本至2.2.2 pip3 install matplotlib==2.2.2 出现新的问题,ImportError: Matplotlib qt-based backends require an ex ...
分类:编程语言   时间:2020-07-03 23:38:57    阅读次数:347
AcWing1185 单词游戏(欧拉路径)
基本建图套路,从单词头向单词尾连一条边,答案就是是否存在一条欧拉路径 #include<bits/stdc++.h> using namespace std; const int N=2e5+10; int p[N]; int din[N],dout[N]; int st[N]; int find( ...
分类:Windows程序   时间:2020-07-03 21:36:39    阅读次数:74
12859条   上一页 1 ... 41 42 43 44 45 ... 1286 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!