摘抄自《C++ Primer中文版(第4版)》 关键概念:名字查找与继承 理解 C++ 中继承层次的关键在于理解如何确定函数调用。 确定函数调用遵循以下四个步骤: (1) 首先确定进行函数调用的对象、引用或指针的静态类型。 (2)在该类中查找函数,如果找不到,就在直接基类中查找,如此循着类的继承链往 ...
分类:
编程语言 时间:
2020-03-06 19:28:12
阅读次数:
81
1.Pod与Service的关系 Pod出现故障以后Deployment会根据策略重启Pod,但是重启Pod会生成新的IP,需要引入Service概念保证访问正常 Service 防止Pod失联 定义一组Pod访问策略 支持ClusterIP,NodePort以及LoadBanlancer三种类型 ...
分类:
Web程序 时间:
2020-03-06 13:26:11
阅读次数:
89
1 """ 2 Given a non-empty array of digits representing a non-negative integer, plus one to the integer. 3 The digits are stored such that the most sig ...
分类:
其他好文 时间:
2020-03-06 13:09:03
阅读次数:
61
算法特征:①. 所有点正确分开; ②. 极大化margin; ③. 极小化非线性可分之误差. 算法推导:Part Ⅰ线性可分之含义:包含同类型所有数据点的最小凸集合彼此不存在交集.引入光滑化手段:plus function: \begin{equation*}(x)_{+} = max \{ x, ...
分类:
编程语言 时间:
2020-03-05 13:30:27
阅读次数:
123
匿名登入Oracle sqlplus "/ as sysdba" 注:无法用cmd执行,请进入SQL Plus目录中执行。 激活scott用户 Alter user scott account unlock; 修改scott密码 alter user 用户名 identified by 密码; ...
分类:
数据库 时间:
2020-03-05 13:04:52
阅读次数:
95
Professional C# 7 and .NET Core 2.0 个人译注。 ...
打开Word提示还有三天试用期了,立马有紧迫感,赶紧上网找激活工具,经历了激活码、卸载、重装office等一系列折腾后,终于找到了一款强大的激活工具KMSpico v9.0.6.zip 链接:https://pan.baidu.com/s/1j7eNvL5KSb2n61vcHdZxVA 提取码:7i ...
分类:
其他好文 时间:
2020-03-05 01:00:53
阅读次数:
1526
#include<bits/stdc++.h> using namespace std; int main() { srand((unsigned)time(NULL)); for(int i = 0;i < 10;i++) { int n = 0 + rand() % 101; int m = 0 ...
分类:
其他好文 时间:
2020-03-04 23:26:41
阅读次数:
77
用二位数组dp[i][j]记录组数为i,前j个数字的最大子段和。 转移方程: dp[i][j],考虑第j个数,第j个数可以并到前面那一组,此时dp[i][j]=dp[i][j-1]+arr[j],第j个数也可以是作为新的一组,那么dp[i][j]=max(dp[i-1][k])(i-1<=k<=j- ...
分类:
其他好文 时间:
2020-03-04 12:59:21
阅读次数:
73
通过继承BaseMapper就可以获取到各种各样的单表操作 插入操作: @Test public void testInsert(){ User user = new User(); user.setAge(20); user.setEmail("test@fff.cn"); user.setNam ...
分类:
其他好文 时间:
2020-03-03 14:29:55
阅读次数:
82