Description:
The design uses CREE XPE LAMPS high brightness, very good reliability, life expectancy of 25,000 hours.
Character:
分类:
其他好文 时间:
2014-08-04 14:02:47
阅读次数:
178
话说好久没写Sql了,结果和其他小组的同事写Sql的时候遭到鄙视了,看来Sql是永远不能丢的,有时间就要温习一下。创建3张表:Rel_SutAndCourse,T_Course,T_Stu为3张表填充数据:----Studentbegin transactioninsert T_Stu(StuCod...
分类:
数据库 时间:
2014-08-04 13:41:57
阅读次数:
340
Description
LogLoader, Inc. is a company specialized in providing products for analyzing logs. While Ikki is working on graduation design, he is also engaged in an internship at LogLoader. Among ...
分类:
其他好文 时间:
2014-08-03 20:37:35
阅读次数:
275
Prototype设计模式其实就是利用一个深拷贝的功能,在原有的类中,通过一个clone函数,创建一个新的类,并可以利用好原有的数据。
这样可以轻易clone出多个新的对象操作,而且都有各自的内存空间。
#include
#include
using namespace std;
class MultiData
{
protected:
bool b;
char c;
s...
分类:
其他好文 时间:
2014-08-02 18:28:43
阅读次数:
231
其实本设计模式可以实现一些像人工智能式的问答。
这个跟人回答问题差不多,根据不同的问题作出不同的回答,而且在不同的状态,也会作出不同的回答。
如果有大量的数据,那么就可以作出千变万化的问答效果来哦。
#include
enum STATE
{
HUNGARY, EAT, FULL
};
class State
{
STATE myState;
public:
State(STA...
分类:
其他好文 时间:
2014-08-02 18:27:43
阅读次数:
200
Abstract Factory Design Pattern 就是一般的Factory Design Pattern的进一步设计,增加一个抽象工厂,然后利用这个工厂可以创建不同基类的类。
当我们需要创建更多不同类的时候就可以使用这个设计模式了。
这个设计模式的代码相对会多点,但是其中的思想就是一般Factory Design Pattern,然后集合更多的基类,看起来挺大的一个设计模式,其思...
分类:
其他好文 时间:
2014-08-02 18:24:53
阅读次数:
250
Hang Up the System
Time Limit: 2 Seconds Memory Limit: 32768 KB
You're going to design a multi-task operating system for an embedded system. Because the resources are limited on this mini c...
分类:
其他好文 时间:
2014-08-02 18:22:13
阅读次数:
328
倍增法在线LCA.....
ZOJ Problem Set - 3195
Design the city
Time Limit: 1 Second Memory Limit: 32768 KB
Cerror is the mayor of city HangZhou. As you may know, the traffic system of thi...
分类:
其他好文 时间:
2014-08-01 23:07:52
阅读次数:
321
Problem Description
Bessie has gone to the mall's jewelry store and spies a charm bracelet. Of course, she'd like to fill it with the best charms possible from the N (1 ≤ N ≤ 3,402) available c...
分类:
其他好文 时间:
2014-08-01 16:12:31
阅读次数:
248
1. Don‘t design your page, and then change it with DOM manipulations In jQuery, you design a page, and then you make it dynamic. This is because jQuery was designed for augmentation and has grown i...
分类:
Web程序 时间:
2014-08-01 14:01:12
阅读次数:
1354