暴力枚举边的状态.....
Friends
Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 120    Accepted Submission(s): 39
Problem Description
Th...
                            
                            
                                分类:
其他好文   时间:
2015-07-23 19:56:48   
                                阅读次数:
178
                             
                    
                        
                            
                            
                                这题是一个很简单额并查集的题目,首先第一步是要用map将字符串映射为整型,这样方便后面的处理,然后就是用一个rank[]数组来记录每个朋友圈的人数。之后就是简单的并查集操作了。这里给出一组测试案例:16Fred BarneyBarney BettyBetty WilmaAAAAA BBBBBAAA....
                            
                            
                                分类:
其他好文   时间:
2015-07-21 23:46:10   
                                阅读次数:
112
                             
                    
                        
                            
                            
                                This blog is accidentally find out, it tells the story of one of our friends about the exploration of the Android world, also inspired my Android's in...
                            
                            
                                分类:
移动开发   时间:
2015-07-21 20:28:05   
                                阅读次数:
273
                             
                    
                        
                            
                            
                                Rescue
Time Limit: 2 Seconds      Memory Limit: 65536 KB
Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M 
Angel's friends want to save...
                            
                            
                                分类:
其他好文   时间:
2015-07-19 12:06:08   
                                阅读次数:
177
                             
                    
                        
                            
                            
                                Layout
Time Limit: 1000MS
 
Memory Limit: 65536K
Total Submissions: 8354
 
Accepted: 4017
Description
Like everyone else, cows like to stand close to their friends when q...
                            
                            
                                分类:
其他好文   时间:
2015-07-19 10:13:28   
                                阅读次数:
134
                             
                    
                        
                            
                            
                                题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2680Choose the best routeDescriptionOne day , Kiki wants to visit one of her friends. As she is liable t...
                            
                            
                                分类:
其他好文   时间:
2015-07-17 22:34:47   
                                阅读次数:
123
                             
                    
                        
                            
                            
                                Problem G Big Chocolate Mohammad has recently visited Switzerland . As he loves his friends very much, he decided to buy some chocolate for them, but ...
                            
                            
                                分类:
其他好文   时间:
2015-07-17 22:23:41   
                                阅读次数:
116
                             
                    
                        
                            
                            
                                DescriptionMohammad has recently visitedSwitzerland. As he loves his friends very much, he decided to buy some chocolate for them, but as this fine ch...
                            
                            
                                分类:
其他好文   时间:
2015-07-17 22:21:23   
                                阅读次数:
122
                             
                    
                        
                            
                            
                                大巧克力问题题目大意:Mohammad has recently visitedSwitzerland. As he loves his friends very much, he decided to buy some chocolate for them, but as this fine ch...
                            
                            
                                分类:
其他好文   时间:
2015-07-17 22:17:58   
                                阅读次数:
146
                             
                    
                        
                            
                            
                                (慢慢看题目,O(∩_∩)O~)Mohammad has recently visitedSwitzerland. As he loves his friends very much, he decided to buy some chocolate for them, but as this fi...
                            
                            
                                分类:
其他好文   时间:
2015-07-16 22:03:15   
                                阅读次数:
145