码迷,mamicode.com
首页 >  
搜索关键字:milk patterns    ( 1103个结果
POJ - 3261 Milk Patterns (后缀数组求可重叠的 k 次最长重复子串)
Description Farmer John has noticed that the quality of milk given by his cows varies from day to day. On further investigation, he discovered that although he can't predict the quality of milk f...
分类:其他好文   时间:2014-09-26 19:26:18    阅读次数:234
POJ 3261 Milk Patterns 后缀数组
用后缀数组求重复出现至少k次的可重叠最长子串的长度,当然是可以用hash搞的,用后缀数组的话,只要在分组之后看看个数是不是大于等于k#include #include #include #include #include #include #include #include #include usi...
分类:其他好文   时间:2014-09-26 02:22:58    阅读次数:241
软件行业人员书单
书籍推荐(转自豆瓣)一、软件project师--Clean Code《代码整洁之道》--Implementation Patterns《实现模式》--Code Complete《代码大全》--Refactoring: Improving the Design of Existing Code《重构—...
分类:其他好文   时间:2014-09-25 19:15:17    阅读次数:256
Django(part3)
URLConf:负责url到view的map,就是一个urls.py module,通常在project和app级别都要定义,#mysite/urls.pyfrom django.conf.urls import patterns, include, urlfrom django.contrib i...
分类:其他好文   时间:2014-09-24 16:46:37    阅读次数:231
常用设计模式总结
design-patterns-conclusions
分类:其他好文   时间:2014-09-22 22:14:13    阅读次数:157
C# 单例模式(转)
C#设计模式学习笔记-单例模式 最近在学设计模式,学到创建型模式的时候,碰到单例模式(或叫单件模式),现在整理一下笔记。 在《Design Patterns:Elements of Resuable Object-Oriented Software》中的定义是:Ensurea class onl.....
分类:其他好文   时间:2014-09-22 16:43:42    阅读次数:189
Utility Classes Are Evil
A utility class is a class filled with static methods. It is usually used to isolate a "useful" algorithm. However, in an object-oriented world, utility classes are considered a very bad practice. The use of utility classes to be an antipattern. More speci...
分类:其他好文   时间:2014-09-18 18:55:54    阅读次数:237
1103条   上一页 1 ... 96 97 98 99 100 ... 111 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!