先查看原有mariadb并移除 1、卸载mariadb:yum remove mariadb 2、删除配置文件:rm -f /etc/my.cnf 3、删除数据目录:rm -rf /var/lib/mysql/ vi /etc/yum.repos.d/MariaDB.repo 添加一下内容 [mar ...
分类:
数据库 时间:
2019-11-21 09:16:32
阅读次数:
136
问题场景 $(function () { Highcharts.chart('container', { title: { text: 'line' }, xAxis: { categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', ' ...
分类:
其他好文 时间:
2019-11-16 13:01:41
阅读次数:
92
题目背景 浙江省的几所OI强校的神犇发明了一种人工智能,可以AC任何题目,所以他们决定建立一个网络来共享这个软件。但是由于他们脑力劳动过多导致全身无力身体被♂掏♂空,他们来找你帮助他们。 题目描述 共有n所学校(n include include include include include de ...
分类:
Web程序 时间:
2019-11-13 21:52:57
阅读次数:
100
奶牛抗议 DP 树状数组 ~~USACO的题太猛了~~ 容易想到$DP$,设$f[i]$表示为在第$i$位时方案数,转移方程: $$ f[i]=\sum f[j]\;(j include using namespace std; define MAXN 100010 define lowbit(x) ...
分类:
编程语言 时间:
2019-11-12 20:34:55
阅读次数:
103
Centos6.4版本yum升级openssh版本最高到5.3,想要升级到更高的版本需要重新编译 一、查看当前openssh版本: [root@localhost ~]# ssh -VOpenSSH_5.3p1, OpenSSL 1.0.0-fips 29 Mar 2010 二、编译libssl.s ...
分类:
其他好文 时间:
2019-11-12 13:24:46
阅读次数:
96
Centos7.2版本yum升级openssh版本最高到7.4,想要升级到更高的版本需要重新编译 一、查看当前openssh版本: [root@localhost ~]# ssh -VOpenSSH_6.6p1, OpenSSL 1.0.0-fips 29 Mar 2010 二、编译openssh7 ...
分类:
其他好文 时间:
2019-11-12 13:21:55
阅读次数:
93
栈模拟,哈希 #include<iostream> #include<cstdio> #define ri register int #define u unsigned long long namespace opt { inline u in() { u x(0),f(1); char s(ge ...
分类:
其他好文 时间:
2019-11-09 22:01:18
阅读次数:
72
原文地址:A Real-World Comparison of Front-End Frameworks with Benchmarks (2018 update) 原文作者:Jacek Schae 译文出自:掘金翻译计划 本文永久链接:https://github.com/xitu/gold-mi ...
分类:
其他好文 时间:
2019-11-05 13:36:29
阅读次数:
100
题目描述 有一个S串和一个T串,长度均小于1,000,000,设当前串为U串,然后从前往后枚举S串一个字符一个字符往U串里添加,若U串后缀为T,则去掉这个后缀继续流程。 输入格式 包含两行,第一行为S串,第二行为T串 输出格式 输出题目要求的字符串序列 样例 输入样例 whatthemomooofu ...
分类:
其他好文 时间:
2019-11-04 19:33:54
阅读次数:
100
原题链接在这里:https://leetcode.com/problems/path-with-maximum-gold/ 题目: In a gold mine grid of size m * n, each cell in this mine has an integer representin ...
分类:
其他好文 时间:
2019-11-04 13:51:41
阅读次数:
89