POJ 3190 Stall Reservations贪心 Description Oh those picky N (1 <= N <= 50,000) cows! They are so picky that each one will only be milked over some prec ...
分类:
其他好文 时间:
2017-07-22 13:18:33
阅读次数:
164
Restructuring Company Even the most successful company can go through a crisis period when you have to make a hard decision — to restructure, discard ...
分类:
其他好文 时间:
2017-07-20 22:12:11
阅读次数:
219
D:\soft\work\Python_17>pip -h Usage: pip [options] Commands: install Install packages. download Download packages. uninstall Uninst... ...
分类:
其他好文 时间:
2017-07-08 21:56:52
阅读次数:
428
一、类的继承、派生和组合 继承是一种创建新类的方式,在Python中,新类可以继承一个或多个父类,父类又可称为基类或者超类,新建的类称为派生类或子类。 在Python3中,所有类都默认继承object,都是新式类。在Python2中,有经典类和新式类。没有继承object类以及object的子类的类 ...
分类:
其他好文 时间:
2017-07-05 10:04:25
阅读次数:
279
面向对象变成介绍 面向过程编程 核心是过程(流水线式思维),过程即解决问题的步骤,面向过程的设计就好比精心设计好一条流水线,考虑周全什么时候处理什么东西。主要应用在一旦完成很少修改的地方,如linux内核、git、apache服务器等 优点:极大的降低了程序的设计复杂度 缺点:可扩展性差,改动一个地 ...
分类:
其他好文 时间:
2017-07-05 00:26:55
阅读次数:
227
一、面向对象的程序设计的由来 1.第一阶段:面向机器,1940年以前 最早的程序设计都是采用机器语言来编写的,直接使用二进制码来表示机器能够识别和执行的指令和数据。 简单来说,就是直接编写 0 和 1 的序列来代表程序语言。例如:使用 0000 代表 加载(LOAD),0001 代表 存储(STOR ...
分类:
编程语言 时间:
2017-06-30 12:24:56
阅读次数:
195
-- mysql查询本季度 -- 今天 select * from ticket_order_detail where to_days(use_time) = to_days(now()); -- 7天 SELECT *FROM ticket_order_detail where DATE_SUB(... ...
分类:
数据库 时间:
2017-06-28 14:29:42
阅读次数:
182
The next few days, I'll get some simple JavaEE skill.This is a new period which will help me start a new journey. After scanning the study plan , I've ...
分类:
其他好文 时间:
2017-06-25 00:19:07
阅读次数:
135
用过stm32定时器的朋友都知道,定时器的CCR寄存器,可以用来配置PWM的输出,但同样也可以用来配置spwm。废话不多说,直接上代码。 首先,你得考虑一下几个因素: 1.同步调制还是异步调制。 2.载波比N设置为多少 3.spwm计算法 4.prescaler和period的值 5.改变CCR还是 ...
分类:
其他好文 时间:
2017-06-20 23:27:43
阅读次数:
723
During the Warring States Period of ancient China(476 BC to 221 BC), there were seven kingdoms inChina | they were Qi, Chu, Yan, Han, Zhao, Wei and Qi ...
分类:
其他好文 时间:
2017-06-18 11:50:36
阅读次数:
422