一、安装YUM Repo1、由于CentOS 的yum源中没有mysql,需要到mysql的官网下载yum repo配置文件。下载命令:wget https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm2、然后进行rep ...
分类:
数据库 时间:
2020-05-21 23:43:45
阅读次数:
79
题目传送门 div4。。基本上都是构造题,水一波题解 A. Sum of Round Numbers 就把每一位拆出来 #include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) f ...
分类:
其他好文 时间:
2020-05-10 10:22:14
阅读次数:
65
On a broken keyboard, some of the keys are always stucked. So when you type some sentences, the characters corresponding to those keys will appear rep ...
分类:
其他好文 时间:
2020-05-09 20:47:30
阅读次数:
60
框架结构 实体层: Typecho.Enties 仓储层: Typecho.IRepository IconcardContext.cs IRepositoryFactory.cs IRepositorys.cs Typecho.Repository RepositoryFactory.cs Rep ...
Dubbo地址 dubbo.apache.org Dubbo服务化最佳实战 分包 建议将服务接口、服务模型、服务异常等均放在 API 包中,因为服务模型和异常也是 API 的一部分,这样做也符合分包原则:重用发布等价原则(REP),共同重用原则(CRP)。 如果需要,也可以考虑在 API 包中放置一 ...
分类:
其他好文 时间:
2020-05-06 19:45:36
阅读次数:
57
LEA LEA是微机8086/8088系列的一条指令,取自英语Load effective address——取有效地址,也就是取偏移地址。 指令格式如下: LEA reg16,mem LEA指令将存储器操作数mem的4位16进制偏移地址送到指定的寄存器。 这里,源操作数必须是存储器操作数,目标操作 ...
分类:
其他好文 时间:
2020-05-04 21:16:56
阅读次数:
71
题目:传送门 博一 博二 #include <bits/stdc++.h> #define LL long long #define ULL unsigned long long #define mem(i, j) memset(i, j, sizeof(i)) #define rep(i, j, ...
分类:
其他好文 时间:
2020-05-02 14:38:11
阅读次数:
99
有一个结论:在线段(长为L)上任取两点,截取的线段期望长度是L/3 知道这个结论后这题就可以做了 但还是要分类大讨论+公式化简,用前缀和做 #include <bits/stdc++.h>#define _for(i,a,b) for(int i=a;i<b;++i)#define _rep(i,a ...
分类:
其他好文 时间:
2020-04-30 23:25:38
阅读次数:
65
Python 内置函数最全汇总: 1 abs() 绝对值或复数的模 2 all() 接受一个迭代器,如果迭代器的所有元素都为真,那么返回True,否则返回False 3 any() 接受一个迭代器,如果迭代器里有一个元素为真,那么返回True,否则返回False 4 ascii() 调用对象的rep ...
分类:
编程语言 时间:
2020-04-23 23:01:43
阅读次数:
148
product 笛卡尔积 permutations 排列 combinations 组合,没有重复 combinations_with_replacement 组合,有重复 >>> import itertools >>> for i in itertools.product('ABCD', rep ...
分类:
编程语言 时间:
2020-04-22 13:19:26
阅读次数:
119