码迷,mamicode.com
首页 >  
搜索关键字:rep    ( 1080个结果
mysql报1236错误解决方法
mysqlslave状态如下,发现IO线程为NO状态,并且报1236错误代码mysql>showslavestatus\G ***************************1.row*************************** Slave_IO_State: Master_Host:10.0.0.20 Master_User:rep Master_Port:3307 Connect_Retry:60 Master_Log_File:mysql-bi..
分类:数据库   时间:2017-08-07 17:35:02    阅读次数:202
2017 UESTC Training for Math
2017 UESTC Training for Math A sg博弈水题 #include<bits/stdc++.h> using namespace std; #pragma comment(linker, "/STACK:102400000,102400000") #define rep(i ...
分类:其他好文   时间:2017-08-06 14:12:16    阅读次数:219
NTT模板
const int G=3; ll c[maxn],d[maxn],tmp[maxn],wn[maxn]; void getwn(int len) { wn[0]=1; wn[1]=qpow(G,(mod-1)/len); int i; rep(i,2,len) wn[i]=wn[i-1]*wn[1 ...
分类:其他好文   时间:2017-08-03 11:14:51    阅读次数:118
centos安装nginx
To add NGINX yum repository, create a file named /etc/yum.repos.d/nginx.repo and paste one of the configurations below: CentOS: [nginx] name=nginx rep ...
分类:其他好文   时间:2017-07-28 15:48:32    阅读次数:111
jS正则和WEB框架Django的入门
JS正则 -test 判断字符串是否符合规定的正则表达式 -exec 获取匹配的数据 test的例子: 从上述的例子我们可以看出,如果rep.test匹配到了就返回true,否则返回false exec的例子 上述匹配的结果是一个数组,但是不管匹配几次都只显示第一个 正则中的分组 全局匹配 没有分组 ...
分类:Web程序   时间:2017-07-27 18:27:36    阅读次数:330
ZeroMQ-Multiprocess
#request_reply_processes.py importzmq importtime importsys frommultiprocessingimportProcess defserver(port="5556"): context=zmq.Context() socket=context.socket(zmq.REP) socket.bind("tcp://*:%s"%port) print"Runningserveronport:",port #servesonly5requestandd..
分类:其他好文   时间:2017-07-25 00:59:38    阅读次数:172
mysql通过GTID方式主从复制
1、 创建复制用户,具有replication slave 权限,能保证slave把master的数据同步过去 master: #grant replication slave on *.* to 'rep'@'192.168.10.100' identified by '123456'; mast ...
分类:数据库   时间:2017-07-24 21:26:28    阅读次数:159
带图标的input
<style> .text{ border:solid 2px #ccc; width:400px; height:40px; background:url(http://d.lanrentuku.com/down/png/1211/blueberry/user_friend.png) no-rep ...
分类:其他好文   时间:2017-07-24 17:33:56    阅读次数:116
[Leetcode] Binary tree-- 606. Construct String from Binary Tree
You need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way. The null node needs to be rep ...
分类:其他好文   时间:2017-07-22 11:00:41    阅读次数:165
计蒜客 课程学分总数
题目链接 课程学分总数 很基础的树型DP。注意输入数据可能是森林而不是完整的一棵树。 题目链接 课程学分总数 那么给所有没有祖先的点加一个公共的根就好了。 #include <bits/stdc++.h> using namespace std; #define rep(i, a, b) for ( ...
分类:其他好文   时间:2017-07-20 21:00:24    阅读次数:190
1080条   上一页 1 ... 40 41 42 43 44 ... 108 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!