原题如下:
A traveler's map gives the distances between cities along the highways, together with the cost of each highway. Now you are supposed to write a program to help a traveler to decide the sh...
分类:
其他好文 时间:
2015-08-25 19:34:41
阅读次数:
194
工厂方法模式 Factory Method :(虚拟构造函数模式 Virtual Constructor,多态性工厂模式 Ploymorphic Facoty)
Define an interface for creating an object,but let subclasses decide which class to instantiate.Factory Method lets a ...
分类:
编程语言 时间:
2015-08-21 23:28:35
阅读次数:
206
IntersectionTime Limit:1000MSMemory Limit:10000KTotal Submissions:12817Accepted:3343DescriptionYou are to write a program that has to decide whether a...
分类:
其他好文 时间:
2015-08-15 22:58:38
阅读次数:
149
133.You created a profile APP_USER and assigned it to the users. After a month, you decide to drop theprofile. Some user sessions are currently connec...
分类:
移动开发 时间:
2015-08-15 16:20:29
阅读次数:
119
problem:Given two string, write a method to decide if one is a permutation of the otherSolution:1. sort two strings and return weather str1 equal to s...
分类:
其他好文 时间:
2015-08-15 06:45:36
阅读次数:
139
poj 2488 A Knight's JourneyDescriptionBackground The knight is getting bored of seeing the same black and white squares again and again and has decide...
分类:
其他好文 时间:
2015-08-13 17:24:10
阅读次数:
89
4.8 You have two very large binary trees: Tl, with millions of nodes, and T2, with hundreds of nodes. Create an algorithm to decide if T2 is a subtree...
分类:
其他好文 时间:
2015-08-08 12:01:40
阅读次数:
103
今天周四,跟大家分享的书籍是《为什么大猩猩比专家高明》,这本书非常不错,是去年阅读科普类图书最好的几本之一。下面是去年第一次阅读时的简评:
《为什么大猩猩比专家高明》评分5分.对决策和选择有兴趣人强力推荐。英文原名是How
we decide,估计出版社为了市场的原因改了一个这样的名字。这本书主要是说如何做正确的决定,并把相关的原理解释了一遍。简单的说要想做正确的做决定,即要利用理智的一面,...
分类:
其他好文 时间:
2015-08-06 18:21:59
阅读次数:
156
DescriptionMr. Tenant is going to buy a new house. In fact, he is going to buy a piece of land and build his new house on it. In order to decide which...
分类:
其他好文 时间:
2015-08-04 20:56:47
阅读次数:
135
after work for almost two years, I have realize the truth notes can help a lot for us. avoiding my lazy life, I decide to sign something important up....
分类:
其他好文 时间:
2015-08-02 23:16:17
阅读次数:
111