做了好多年的PHP,一直还停留在应用层的层次水平,貌似是遇到了发展瓶颈。在应用层,实现功能、快速开发、中小型架构、问题的解决方案,这些问题对自己来说已经达到高峰,也就是说,能在小公司负责整体的中小项目很easy。但是,目前自己急缺的是大项目,大架构,底层机制、各种原理、系统知识体系,这些的项目经验与...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 16:11:22   
                                阅读次数:
330
                             
                    
                        
                            
                            
                                UIImage*img =[button 
imageForState:UIControlStateNormal];
                            
                            
                                分类:
其他好文   时间:
2014-05-01 15:37:41   
                                阅读次数:
351
                             
                    
                        
                            
                            
                                Given a binary tree, determine if it is 
height-balanced.For this problem, a height-balanced binary tree is defined as a 
binary tree in which the depth...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 14:38:39   
                                阅读次数:
454
                             
                    
                        
                            
                            
                                题目来源:http://poj.org/problem?id=3384分析:用半平面交将多边形的每条边一起向“内”推进R,得到新的多边形(半平面交),然后求多边形的最远两点。代码如下:const 
double EPS = 1e-10;const int Max_N = 105 ;struct Poi...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 14:35:31   
                                阅读次数:
528
                             
                    
                        
                            
                            
                                select * from sys_role_list where id in (select c 
from (with test as (select roleid c from sys_role_info where id=1) select 
substr(t.ca,instr(t.ca,...
                            
                            
                                分类:
数据库   时间:
2014-05-01 02:34:49   
                                阅读次数:
670
                             
                    
                        
                            
                            
                                Submitted by Lars Windolf on 19. October 2012 - 
21:53http://lzone.de/dump%20memcache%20keysYou spent already 50GB on the 
memcache cluster, but you sti...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 02:17:26   
                                阅读次数:
489
                             
                    
                        
                            
                            
                                首先在Program.cs的Main()方法下添加如下代码:string[] names = 
{ "heh", "haha", "huahua", "kuku" };1、取得以h开头的名称:(查询语法) var queryResult = from n 
in names ...
                            
                            
                                分类:
其他好文   时间:
2014-04-30 23:02:21   
                                阅读次数:
509
                             
                    
                        
                            
                            
                                When Vito Maretti writes an important letter he encrypts it. His method is not very reliable but it’s enough to make any detective understand nothing in that letter. Sheriff doesn’t like such state
 ...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 21:45:00   
                                阅读次数:
459
                             
                    
                        
                            
                            
                                Problem Description
  大师兄在取得真经后,每天详读经书,认真完成读书笔记,理论联系实际,不断提高实践能力。假设大师兄开始修炼的第一天是星期一,至今已经修炼了N天,那么有多少天是星期六或者星期日,大师兄还在修炼呢?
 Input
  每组输入数据包含一个整数N(0<N<100,000)。
 Output
  对每组输入数据,输出一行,仅包含一个整数...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 21:45:00   
                                阅读次数:
387
                             
                    
                        
                            
                            
                                http://poj.org/problem?id=2947
大致题意:
有n种装饰物,m个已知条件,每个已知条件的描述如下:
p start end
a1,a2......ap (1
第一行表示从星期start到星期end一共生产了p件装饰物(工作的天数为end-start+1+7*x,加7*x是因为它可能生产很多周),第二行表示这p件装饰物的种类(可能出现相同的种类,即ai=aj)。...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 21:12:04   
                                阅读次数:
339