Loading

06 2020 档案

摘要:https://corecppil.github.io/CoreCpp2019/Presentations/Dan_Saks_Lvalues_and_Rvalues.pdf 简述 原版PPT 有31页,我主要摘取几个重要的点。 下面所说的对象都是广义的对象(object) 一个int float 都 阅读全文
posted @ 2020-06-18 14:58 沉云 阅读(1706) 评论(0) 推荐(1)
摘要:方法论 对于某些优化问题,可以利用问题本身的特殊性质,使用贪心法通过不断寻找局部最优解从而找到全局最优解。贪心法与动态规划的最主要不同点在于状态转移时选择,动态规划总是需要确定多个可行的方案,而贪心法只有一个可行方案。 step: Cast the optimization problem as o 阅读全文
posted @ 2020-06-12 21:16 沉云 阅读(240) 评论(0) 推荐(0)
摘要:参考: 简易版:https://www.reddit.com/r/HowToHack/comments/dz378r/learning_path_for_ethical_hacking/ 详细版:https://blog.knownsec.com/Knownsec_RD_Checklist/inde 阅读全文
posted @ 2020-06-10 19:13 沉云 阅读(2742) 评论(0) 推荐(3)
摘要:方法论 Like the divide-and-conquer method. But in contrast dynamic programming applies when the subproblems overlap. A dynamic-programming algorithm solv 阅读全文
posted @ 2020-06-06 13:51 沉云 阅读(309) 评论(0) 推荐(0)
摘要:方法论 步骤 Divide :Divide the problem into a number of subproblems that are smaller instances of the same problem. Conquer :Conquer the subproblems by sol 阅读全文
posted @ 2020-06-04 17:35 沉云 阅读(383) 评论(0) 推荐(0)
摘要:循环不变性 loop invariant 证明算法正确性 Initialization: It is true prior to the first iteration of the loop. 在第一次执行赋值操作后,检查真值前的状态。 Maintenance: If it is true bef 阅读全文
posted @ 2020-06-04 16:32 沉云 阅读(228) 评论(0) 推荐(0)