cups = static::getCups();//static 也可以调用其他static修饰的函数 $this->apples = static::getApple(); $this->water = $this->getWater(); } stati...
                            
                            
                                分类:
Web程序   时间:
2014-07-11 19:00:42   
                                阅读次数:
189
                             
                         
                    
                        
                            
                            
                                今天同事pvuTraceback (most recent call last):  File "F:\vmid.py", line 11, in     vmiddle.connect((host, port))LookupError: unknown encoding: idna...
                            
                            
                                分类:
其他好文   时间:
2014-07-10 21:17:06   
                                阅读次数:
365
                             
                         
                    
                        
                            
                            
                                Givennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.Fo...
                            
                            
                                分类:
移动开发   时间:
2014-07-10 15:00:57   
                                阅读次数:
267
                             
                         
                    
                        
                            
                            
                                关于这个错误:Subversion detected an unsupported working copy version while checking the status of 'XXXX'. Most likely you upgraded another Subversion client...
                            
                            
                                分类:
其他好文   时间:
2014-07-09 19:13:25   
                                阅读次数:
345
                             
                         
                    
                        
                            
                            
                                Who Gets the Most Candies?
Time Limit: 5000MS
 
Memory Limit: 131072K
Total Submissions: 9416
 
Accepted: 2868
Case Time Limit: 2000MS
Description
N children are s...
                            
                            
                                分类:
其他好文   时间:
2014-07-09 12:46:35   
                                阅读次数:
234
                             
                         
                    
                        
                            
                            
                                Who's in the Middle
Time Limit: 1000MS
 
Memory Limit: 65536K
Total Submissions: 31015
 
Accepted: 17991
Description
FJ is surveying his herd to find the most average c...
                            
                            
                                分类:
其他好文   时间:
2014-07-08 19:43:07   
                                阅读次数:
164
                             
                         
                    
                        
                            
                            
                                Description
During winter, the most hungry and severe time, Holedox sleeps in its lair. When spring comes, Holedox wakes up, moves to the exit of its lair, comes out, and begins its new life. 
Hol...
                            
                            
                                分类:
其他好文   时间:
2014-07-08 17:28:54   
                                阅读次数:
256
                             
                         
                    
                        
                            
                            
                                字典树
看题库上说这是字典树,不过被我水过去了。
题意是说用对应的字典,翻译出火星文。
each line will contain at most 3000 characters.
看到这句话我就安心了。Time Limit: 10000/5000 MS (Java/Others)
果断用map 来水了。还真AC了。3296MS 。本来是想巩固一下字典树的,不过……。
...
                            
                            
                                分类:
其他好文   时间:
2014-07-08 14:42:44   
                                阅读次数:
173
                             
                         
                    
                        
                            
                            
                                Given n non-negative integers a1, a2,
 ..., an, where each represents a point at coordinate (i, ai). n vertical
 lines are drawn such that the two endpoints of line i is at (i, ai) and (i,
 0). Fin...
                            
                            
                                分类:
其他好文   时间:
2014-07-08 14:21:56   
                                阅读次数:
190
                             
                         
                    
                        
                            
                            
                                Who's in the Middle
Time Limit: 1000MS
 
Memory Limit: 65536K
Total Submissions: 31149
 
Accepted: 18073
Description
FJ is surveying his herd to find the most average cow...
                            
                            
                                分类:
其他好文   时间:
2014-07-08 13:30:10   
                                阅读次数:
144