hdu1505:http://acm.hdu.edu.cn/showproblem.php?pid=1505题解:给你一个字符矩阵,里面有R和F两种字符,然后让你找一个最大的子矩阵,这个最大的子矩阵只含有F。题解:在队友的提示下和上一题的影响,我先处理出每一行,以该行为起点的连续F的高度,然后每一行...
                            
                            
                                分类:
其他好文   时间:
2014-07-26 01:33:56   
                                阅读次数:
349
                             
                         
                    
                        
                            
                            
                                A. BabelfishTime Limit: 3000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:MainYou have just moved from Waterloo to a big city. ...
                            
                            
                                分类:
其他好文   时间:
2014-07-26 01:20:26   
                                阅读次数:
297
                             
                         
                    
                        
                            
                            
                                今天主要把asp.net mvc的增删改查总结了一下。1、首先是查询,先上代码吧!public ActionResult Index() { List list = (from c in demo.City select c).ToList(); ...
                            
                            
                                分类:
其他好文   时间:
2014-07-25 16:30:51   
                                阅读次数:
185
                             
                         
                    
                        
                            
                            
                                这道题好吧,一开始便是拓扑排序的想法,搞了好久,试了多组测试数据,没错啊,可是没过。。。作孽啊,竟然忘了拓扑不能处理环,白浪费了一晚上。。。只好用动态规划了。。DP【time】【city】表示在time时刻到达city的最迟出发时间,当然,在这个时间不一定到city。转移方程挺简单,不说你也会。 1...
                            
                            
                                分类:
其他好文   时间:
2014-07-23 12:07:56   
                                阅读次数:
298
                             
                         
                    
                        
                            
                            
                                H. City HorizonTime Limit: 2000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:MainFarmer John has taken his cows on a trip to th...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:21:57   
                                阅读次数:
263
                             
                         
                    
                        
                            
                            
                                http://acm.hdu.edu.cn/showproblem.php?pid=1505先处理每一行上每一个F为底往上所到达的高度,然后再左右处理。 1 #include 2 #include 3 #include 4 #define maxn 1001 5 using namespace...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 22:45:13   
                                阅读次数:
191
                             
                         
                    
                        
                            
                            
                                Find them, Catch them
Time Limit: 1000MS
 
Memory Limit: 10000K
Total Submissions: 30702
 
Accepted: 9447
Description
The police office in Tadu City decides to sa...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 14:41:45   
                                阅读次数:
212
                             
                         
                    
                        
                            
                            
                                D-CityTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 1315Accepted Submission(s): 496Problem Descr...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 09:00:04   
                                阅读次数:
210
                             
                         
                    
                        
                            
                            
                                Rails
Time Limit:1000MS     Memory Limit:10000KB     64bit IO Format:%I64d
 & %I64u
Submit Status
Description
There is a famous railway station in PopPush City. Country there is incre...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 00:29:36   
                                阅读次数:
210
                             
                         
                    
                        
                            
                            
                                Square City is a very easy place for people to walk around. The two-way streets run North-South or East-West dividing the city into regular blocks. Most street int...
                            
                            
                                分类:
其他好文   时间:
2014-07-20 22:33:53   
                                阅读次数:
295