码迷,mamicode.com
首页 >  
搜索关键字:let    ( 14348个结果
Leetcode 793. Preimage Size of Factorial Zeroes Function
Problem: Let f(x) be the number of zeroes at the end of x!. (Recall that x! = 1 * 2 * 3 * ... * x, and by convention, 0! = 1.) For example, f(3) = 0 b ...
分类:其他好文   时间:2019-02-10 15:07:40    阅读次数:164
Putnam竞赛一道题及中科大自主招生试题的联系
Putnam试题 For any positive integer n let denote the closest integer to $\sqrt{n}$,Evaluate $$\sum_{n=1}^{∞}\frac{2^{<n>}+2^{-<n>}}{2^{n}}$$ Solution: S ...
分类:其他好文   时间:2019-02-10 13:50:41    阅读次数:201
Jupyter Notebook 的快捷键
文章来源:https://blog.csdn.net/lawme/article/details/51034543 Jupyter Notebook 的快捷键 Jupyter Notebook 有两种键盘输入模式。编辑模式,允许你往单元中键入代码或文本;这时的单元框线是绿色的。命令模式,键盘输入运行 ...
分类:其他好文   时间:2019-02-10 10:58:28    阅读次数:162
hdu 1028 Ignatius and the Princess III
Problem Description "Well, it seems the first problem is too easy. I will let you know how foolish you are later." feng5166 says."The second problem i ...
分类:其他好文   时间:2019-02-10 00:05:12    阅读次数:152
22、整合mybatis
搭建环境: 1)、创建工程需要的maven坐标 这个mybatis的starter是mybatis官方出的适应springboot 2)、数据连接池的使用 引入Druid数据连接池 3)、数据连接池的配置 配置文件的设置: 依然是Druid的配置 4)、Druid的后台监控....... 5)、创建 ...
分类:其他好文   时间:2019-02-09 22:40:25    阅读次数:279
es6+最佳入门实践(1)
1.let和const 1.1.let和块级作用域 在es5中,js的作用域分为全局作用域和局部作用域,通常是用函数来区分的,函数内部属于局部作用域,在es6中新增了块级作用域的概念,使用{}括起来的区域是一个块级作用域 如果上述代码中定义变量的时候使用let,在外面使用变量a就会报错 es6中新增 ...
分类:其他好文   时间:2019-02-09 22:26:40    阅读次数:219
es6+最佳入门实践(10)
10.Generator 10.1.Generator是什么? Generator函数是ES6提供的一种异步编程解决方案。在它的内部封装了多个状态,因此,又可以理解为一种状态机,执行Generator函数后返回一个迭代器对象,使用这个迭代器对象可以遍历出Generator函数内部的状态 Genera ...
分类:其他好文   时间:2019-02-09 22:20:39    阅读次数:242
【LeetCode】二分 binary_search(共58题)
https://leetcode.com/tag/binary-search/ ...
分类:其他好文   时间:2019-02-09 21:13:49    阅读次数:207
7创建型模式之建造者模式
概念 Builder模式也叫建造者模式或者生成器模式,是由GoF提出的23种设计模式中的一种。Builder模式是一种对象创建型模式之一,用来隐藏复合对象的创建过程,它把复合对象的创建过程加以抽象,通过子类继承和重载的方式,动态地创建具有复合属性的对象。 对象的创建:Builder模式是为对象的创建 ...
分类:其他好文   时间:2019-02-09 21:04:36    阅读次数:191
markdown之流程图总结
mermaid 时序图 甘特 ...
分类:其他好文   时间:2019-02-09 20:49:03    阅读次数:829
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!