码迷,mamicode.com
首页 >  
搜索关键字:rep    ( 1080个结果
有根树的表达 Aizu - ALDS1_7_A: Rooted Trees
有根树的表达 题目:Rooted Trees Aizu - ALDS1_7_A A graph G = (V, E) is a data structure where V is a finite set of vertices and E is a binary relation on V rep ...
分类:其他好文   时间:2019-06-07 21:00:50    阅读次数:114
mysql一些函数学习
replace into replace的运行与insert很相似。只有一点例外,假如表中的旧记录与一个用于PRIMARY KEY(主键)或一个UNIQUE索引的新记录具有相同的值,则在新记录被插入之前,旧记录被删除。 注意,除非表有一个PRIMARY KEY或UNIQUE索引,否则,使用一个REP... ...
分类:数据库   时间:2019-06-07 00:16:14    阅读次数:130
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
今天在测试环境使用yum安装,遇到一个问题: Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again 处理很简单,修改文件“/etc/yum.repos.d/epel.rep ...
分类:Web程序   时间:2019-06-06 09:25:34    阅读次数:141
string库
Lua字符串库小集 1. 基础字符串函数: 字符串库中有一些函数非常简单,如: 1). string.len(s) 返回字符串s的长度; 2). string.rep(s,n) 返回字符串s重复n次的结果; 3). string.lower(s) 返回s的副本,其中所有的大写都被转换为了小写形式,其 ...
分类:其他好文   时间:2019-06-02 16:17:56    阅读次数:101
Codeforces Global Round 3
A. Another One Bites The Dust 有三种序列 a b ab 给出各数量 求连成的最长长度 (相邻两个字符不同) 签到水题: #include<bits/stdc++.h> using namespace std; //input by bxd #define rep(i,a ...
分类:其他好文   时间:2019-06-02 12:55:00    阅读次数:128
js emoji 过滤
function filteremoji(emojireg){ var ranges = [ '\ud83c[\udf00-\udfff]', '\ud83d[\udc00-\ude4f]', '\ud83d[\ude80-\udeff]' ]; emojiregRe = emojireg .rep... ...
分类:Web程序   时间:2019-05-22 22:13:04    阅读次数:127
GYM 101933A(dp)
要点 $\sum{w_i} rhs.w; } }a[maxn]; int dp[maxw]; int main() { read(n), read(d); rep(i, 1, n) { read(a[i].l); read(a[i].w); read(a[i].h); } sort(a + 1, a ...
分类:其他好文   时间:2019-05-11 23:04:54    阅读次数:144
zabbix--告警消息内容更改
zabbix 告警消息内容更改 自带的消息内容模板发送出来的消息着实有点丑陋,再加之是英文,这就让我有点尴尬了。 如下默认的消息内容: 更改过后的效果: 操作步骤 编辑默认的Report problems to Zabbix administrators 发送消息内容 进入:配置 -> 动作 Rep ...
分类:其他好文   时间:2019-05-09 20:14:00    阅读次数:206
dinic模板
注意pos和head都初始化为-1 M要开两倍 因为连双向边 stnm都开局部变量即可 #include<bits/stdc++.h> using namespace std; //input by bxd #define rep(i,a,b) for(int i=(a);i<=(b);i++) # ...
分类:其他好文   时间:2019-05-05 19:20:05    阅读次数:122
解题报告 『占卜DIY(模拟)』
原题地址 水题,纯模拟。 代码实现如下: #include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for (register int i = a; i <= b; i++) #define per(i, a, b) for ...
分类:其他好文   时间:2019-05-02 23:21:09    阅读次数:165
1080条   上一页 1 ... 16 17 18 19 20 ... 108 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!