DescriptionYour task is to calculate the sum of
some integers.InputInput contains an integer N in the first line, and then N
lines follow. Each line s...
分类:
其他好文 时间:
2014-05-23 06:41:47
阅读次数:
298
11:33 2013/6/26SQL语句:DML(Data Manipulation Language
数据操作语言)语句:insert update delete selectDDL(Data Difinition Language
数据定义语言)语句:create table/ create d...
分类:
数据库 时间:
2014-05-23 05:20:28
阅读次数:
339
通过 JSON 字符串来创建对象First Name: Last Name:
分类:
Web程序 时间:
2014-05-23 04:16:00
阅读次数:
297
Determine whether an integer is a palindrome.
Do this without extra space.if use recursive, like check the first dig and last
dig, then remove them, c...
分类:
其他好文 时间:
2014-05-23 02:45:15
阅读次数:
230
The start index: this is inclusive, i.e. this
will be the first index value in the loopThe end index: this is exclusive, so it
won’t be processed in t...
分类:
Web程序 时间:
2014-05-22 15:59:26
阅读次数:
264
11:33 2013/6/26 SQL语句: DML(Data Manipulation
Language 数据操作语言)语句:insert update delete selectDDL(Data Difinition Language
数据定义语言)语句:create table/ create...
分类:
数据库 时间:
2014-05-22 13:50:16
阅读次数:
442
Entity Framwork(实体框架,简称EF)是ORM(Object Relational
Mapping,对象映射关系)的一个解决方案。EF允许项目将数据库的表映射为实体,并封装了操作方法,方便开发人员直接操作数据库。EF有三种开发模式,分别是:Database
First(数据库先行): ...
分类:
其他好文 时间:
2014-05-21 18:15:01
阅读次数:
632
Head first
设计模式:定义了对象之间的一对多依赖,这样一来,当一个对象改变状态时,它的所有依赖者都会受到通知并自动更新。
让主题与观察者之间松耦合大话设计模式:定义了一种一对多的依赖关系,让多个观察者对象同时监听某一个主题对象。这个主题对象在状态发生变化时,会通知所有观察者对象,使它们能....
分类:
其他好文 时间:
2014-05-21 17:41:46
阅读次数:
341
以下内容系原创,转载请务必注明地址
主要参考资料:我在 Stackoverflow 上提的问题 Why
the first is right but the second is wrong ?
这令人纠结的两行代码如下:
const char *cval = "nothing"; // 正确
int *ival = {1, 2, 3, 4}; // 错误...
分类:
其他好文 时间:
2014-05-21 15:32:47
阅读次数:
277
参考别人的code, 看似不难的题,其实挺费事的。思想还是:From this example, we
can see that in the first position of the resulting combinations we can chose
number 1-5. Assume t...
分类:
其他好文 时间:
2014-05-21 14:24:04
阅读次数:
241