??????简单工厂模式解释: 简单工厂模式(Simple Factory Pattern)属于类的创新型模式,又叫静态工厂方法模式(Static FactoryMethod Pattern),是通过专门定义一个类来负责创建其它类的实例,被创建的实例通常都具有共同的父类。简单工厂模式的UML图: 简...
分类:
其他好文 时间:
2014-09-01 22:24:43
阅读次数:
252
明明两道很简单的题目,但是因为不细(zhi)心(dao),就错了。
Too young too simple~╮(╯▽╰)╭...
分类:
编程语言 时间:
2014-09-01 00:32:22
阅读次数:
237
Battle ShipsCrawling in process...
Crawling failed
Time Limit:2000MS
Memory Limit:65536KB 64bit IO Format:%lld & %llu
Submit
Status
Description
Battle Ships is a new game whi...
分类:
其他好文 时间:
2014-08-31 15:55:41
阅读次数:
216
转自unity圣典:http://game.ceeger.com/Manual/ProfilerWindow.htmlhttp://game.ceeger.com/Manual/Profiler.html分析器窗口 Profiler windowDate:2013-07-01 13:44Attach...
Codeforces Round #264 (Div. 2) A...
分类:
其他好文 时间:
2014-08-31 09:16:41
阅读次数:
220
Caisa solved the problem with the sugar and now he is on the way back to home.
Caisa is playing a mobile game during his path. There are
(n?+?1) pylons numbered from 0 to
n in this game. The py...
分类:
其他好文 时间:
2014-08-30 21:46:50
阅读次数:
315
Codeforces Round #264 (Div. 2)[ABCDE]
ACM
题目地址: Codeforces Round #264 (Div. 2)
这场只出了两题TAT,C由于cin给fst了,D想到正解快敲完了却game over了...
掉rating掉的厉害QvQ...
A - Caisa and Sugar【模拟】
题意:
Cai...
分类:
其他好文 时间:
2014-08-30 21:46:20
阅读次数:
403
题目链接:
huangjing
题意:
给n个数,然后有两种操作。
【1】Q a b 询问a到b区间的和。
【2】C a b c将区间a到b的值都增加c。
思路:
线段树成段更新的入门题目。。学会使用lazy即可。还需要注意的是,lazy的时候更改是累加,而不是直接修改。。有可能连续几次进行修改操作。。注意这一点就好了。。。
题目:
Language:
De...
分类:
其他好文 时间:
2014-08-30 21:46:10
阅读次数:
298
先上题目:How LaderLader is a game that is played in aregularhexagonal board (all sides equal, all angles are also equal). The game is much similar as pool...
分类:
其他好文 时间:
2014-08-30 20:24:29
阅读次数:
259
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4063DescriptionYou are playing a flying game.In the game, player controls an aircraft in a 2D-space.The...
分类:
其他好文 时间:
2014-08-30 19:04:59
阅读次数:
254