摘抄自《C++ Primer中文版(第4版)》 关键概念:名字查找与继承 理解 C++ 中继承层次的关键在于理解如何确定函数调用。 确定函数调用遵循以下四个步骤: (1) 首先确定进行函数调用的对象、引用或指针的静态类型。 (2)在该类中查找函数,如果找不到,就在直接基类中查找,如此循着类的继承链往 ...
分类:
编程语言 时间:
2020-03-06 19:28:12
阅读次数:
81
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
打开Word提示还有三天试用期了,立马有紧迫感,赶紧上网找激活工具,经历了激活码、卸载、重装office等一系列折腾后,终于找到了一款强大的激活工具KMSpico v9.0.6.zip 链接:https://pan.baidu.com/s/1j7eNvL5KSb2n61vcHdZxVA 提取码:7i ...
分类:
其他好文 时间:
2020-03-05 01:00:53
阅读次数:
1526
用二位数组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
I am the guy who made the Primer Fields video. Sorry for the length of this post, but is has to be long in order to address the issues I am seeing in ...
分类:
其他好文 时间:
2020-02-29 22:31:13
阅读次数:
104
Win10工具: Rufus:制作使用UEFI固件的计算机+NTFS格式U盘 HWIDGen:激活Win10 Office激活:Office Tool Plus HEU KMS Activator:激活Office,Win7,Win10等,只能激活180天 Office也有相应激活码永久激活 Ofi ...
今日大坑: 环境是springboot+mybatis plus,debug进入controller后无法走到service层,之前搜关键词Invalid bound statement (not found): ,出来的都是dao层扫描不到,于是我就搜关键词Invalid bound statem ...
分类:
其他好文 时间:
2020-02-28 12:05:28
阅读次数:
59