码迷,mamicode.com
首页 >  
搜索关键字:global variables    ( 9983个结果)
MySQL字符集和语言
字符集和校对顺序 数据库表被用来存储和检索数据。不同的语言和字符集需要以不同的方式存储和检索。因此,MySQL需要适应不同的字符集(不同的字母和字符),适应不同的排序和检索数据的方法。 在讨论多种语言和字符集时,将会遇到以下重要术语: 字符集为字母和符号的集合; 编码为某个字符集成员的内部表示; 校 ...
分类:数据库   时间:2020-06-21 23:05:01    阅读次数:71
附录2 伪进化曲线
当我们在写论文时,如果论文中的电磁结构是使用遗传算法优化的,那么我们最好给出一个进化曲线。但是我们在设计的时候可能不会去考虑保存进化曲线,这个时候就需要伪造进化曲线,下面提供代码来实现这一功能。 打开shell/GA.m,在倒数第6行处添加两行代码 %添加以下两行代码!!! global bests ...
分类:其他好文   时间:2020-06-21 19:55:37    阅读次数:48
Codeforces Global Round 8 E - Ski Accidents 拓扑
#include<map> #include<queue> #include<time.h> #include<limits.h> #include<cmath> #include<ostream> #include<iterator> #include<set> #include<stack> # ...
分类:其他好文   时间:2020-06-21 14:13:49    阅读次数:55
Codeforces Global Round 8 D - AND, OR and square sum 尽量往大的数字上移动
#include<map> #include<queue> #include<time.h> #include<limits.h> #include<cmath> #include<ostream> #include<iterator> #include<set> #include<stack> # ...
分类:移动开发   时间:2020-06-21 14:06:53    阅读次数:54
Codeforces Global Round 8 B - Codeforces Subsequences 构造
#include<map> #include<queue> #include<time.h> #include<limits.h> #include<cmath> #include<ostream> #include<iterator> #include<set> #include<stack> # ...
分类:其他好文   时间:2020-06-21 13:44:09    阅读次数:80
mysql开启慢日志
检查 MySQL 是否开启了慢日志。 show variables like 'slow_query_log'; 返回 代表没有开启慢日志 编辑MySQL配置文件 vim /etc/mysql/mysql.conf log_output=file slow_query_log=on slow_que ...
分类:数据库   时间:2020-06-21 09:40:49    阅读次数:73
Keepalived+Nginx双机主备配置实践
当前服务器的IP为192.168.79.128 1、Keepalived下载 https://www.keepalived.org/download.html 我这里下载的是Version 2.0.18 2、Keepalived安装 cd /home/tools/ tar -zxvf keepali ...
分类:其他好文   时间:2020-06-21 00:33:37    阅读次数:65
Jenkins集成allure
前言 之前说过了本地生成allure报告的,今天就来说说使用Jenkins集成allure那些事。 安装allure插件 安装Jenkins 本小节来自廖雪峰Jenkins博客 首先,我们从Jenkins官方网站https://jenkins.io/下载最新的war包。虽然Jenkins提供了Win ...
分类:其他好文   时间:2020-06-20 23:57:36    阅读次数:82
Python>函数 def
1 # 定义函数 2 def printinfo(): 3 print("-"*30) 4 print("人生苦短,我用python") 5 print("*"*30) 6 7 # 函数的调用 8 printinfo() 9 10 # 定义带参数的函数 11 def add2Num(a,b): 12 ...
分类:编程语言   时间:2020-06-20 21:41:49    阅读次数:89
Codeforces Global Round 8 E. Ski Accidents
题目链接:https://codeforces.com/contest/1368/problem/E 题意 给出一个 $n$ 点 $m$ 边的有向图,每条边由编号较小的点通向编号较大的点,每个点的出度不大于 $2$,删掉一些点,使得图中不存在长度大于等于 $2$ 的路径。(最多删掉 $\frac{4 ...
分类:其他好文   时间:2020-06-20 17:04:50    阅读次数:79
共9983条   上一页 1 ... 43 44 45 46 47 ... 999 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!