Introduction to Databases 1. Database management system: a. Efficient, convenient, safe, multiuser storage & access to massive amounts of persistent d ...
分类:
数据库 时间:
2019-02-10 09:22:17
阅读次数:
159
计算机顾名思义就是可以做数学计算的机器,因此,计算机程序理所当然地可以处理各种数值。但是,计算机能处理的远不止数值,还可以处理文本、图形、音频、视频、网页等各种各样的数据,不同的数据,需要定义不同的数据类型。在 Python 中,能够直接处理的数据类型有以下几种: 除了上述内置的数据类型,pytho ...
分类:
其他好文 时间:
2019-02-09 01:04:29
阅读次数:
239
原题链接:https://vjudge.net/problem/11137/origin Mr Wang wants some boys to help him with a project. Because the project is rather complex, the more boys ...
分类:
其他好文 时间:
2019-02-04 14:04:42
阅读次数:
199
Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. Your algorithm's runtime com ...
分类:
其他好文 时间:
2019-02-02 23:19:31
阅读次数:
208
、数学运算类 abs(x) 求绝对值 1、参数可以是整型,也可以是复数 2、若参数是复数,则返回复数的模 complex([real[, imag]]) 创建一个复数 divmod(a, b) 分别取商和余数 注意:整型、浮点型都可以 float([x]) 将一个字符串或数转换为浮点数。如果无参数将 ...
分类:
编程语言 时间:
2019-02-02 10:38:42
阅读次数:
139
内置函数概览 Python 2.7 的所有内置函数共有80个。熟练记住和使用这些内置函数,将大大提高写Python代码的速度和代码的优雅程度。 以下代码示例用的是ipython,一个比官方解释器好很多的解释器,值的学习和使用。 数学相关的内置函数 abs(x) 返回一个数字的绝对值 complex( ...
分类:
其他好文 时间:
2019-02-02 10:18:57
阅读次数:
145
Unit test: Specify and test one point of the contract of single method of a class. This should have a very narrow and well defined scope. Complex depe ...
分类:
其他好文 时间:
2019-01-30 14:23:15
阅读次数:
106
作用:添加链接(比如赞助网站,或者相关站点什么的) 效果如下: (引用Godot官网) Introduction RichTextLabel allows the display of complex text markup in a control. It has a built-in API f ...
分类:
其他好文 时间:
2019-01-28 10:44:25
阅读次数:
195
个人公众号原文: "创建型模式:建造者模式" 五大创建型模式之四:建造者模式。 简介 姓名 :建造者模式 英文名 :Builder Pattern 价值观 :专治丢三落四 个人介绍 : Separate the construction of a complex object from its re ...
分类:
其他好文 时间:
2019-01-26 12:31:48
阅读次数:
214
"题目链接" $Description$ 给定$x,y$,求有多少个数列满足$gcd(a_i)=x且\sum a_i=y$。答案对$10^9+7$取模。 $1≤x,y≤10^9$ $Solution$ $y$如果不是$x$的倍数,答案为$0$ 然后呢 令$y/=x$,问题就变成了求有多少个数列满足$ ...
分类:
其他好文 时间:
2019-01-26 11:14:02
阅读次数:
172