相信地球人都用QQ的,我们每天都会打开QQ,但是你去注意到他是怎么实现的吗? 
话不多说先上图: 
该数据都是用plist文件存储 
接下来带你看下plist文件分析下数据结构图一: 
 
每一组都是一个组模型,一组相当于一个好友分组。图二 
 
每组里面都有一个friends数组存放该组的好友数@interface JFFriend : NSObject
/**
 *  头像
 */
@prope...
                            
                            
                                分类:
其他好文   时间:
2015-08-10 00:25:10   
                                阅读次数:
125
                             
                    
                        
                            
                            
                                点击打开链接
Problem Description
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 Angel. Their task is: approac...
                            
                            
                                分类:
其他好文   时间:
2015-08-09 00:25:46   
                                阅读次数:
125
                             
                    
                        
                            
                            
                                Problem Description
There are n soda
 conveniently labeled by 1,2,…,n.
 beta, their best friends, wants to invite some soda to go hiking. The i-th
 soda will go hiking if the total number of sod...
                            
                            
                                分类:
其他好文   时间:
2015-08-08 12:10:46   
                                阅读次数:
127
                             
                    
                        
                            
                            
                                uva 1345 Jamie’s Contact GroupsDescriptionJamie is a very popular girl and has quite a lot of friends, so she always keeps a very long contact list in her cell phone. The contact list has become so lon...
                            
                            
                                分类:
其他好文   时间:
2015-08-08 12:06:02   
                                阅读次数:
139
                             
                    
                        
                            
                            
                                http://acm.hdu.edu.cn/showproblem.php?pid=5360
Problem Description
There are n soda
 conveniently labeled by 1,2,…,n.
 beta, their best friends, wants to invite some soda to go hiking. The i...
                            
                            
                                分类:
其他好文   时间:
2015-08-07 19:58:58   
                                阅读次数:
107
                             
                    
                        
                            
                            
                                Problem DescriptionThere arensoda conveniently labeled by1,2,…,n. beta, their best friends, wants to invite some soda to go hiking. Thei-th soda will ...
                            
                            
                                分类:
其他好文   时间:
2015-08-06 20:04:48   
                                阅读次数:
135
                             
                    
                        
                            
                            
                                Virtual FriendsTime Limit: 4000/2000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6844Accepted Submission(s): 1952Pro...
                            
                            
                                分类:
其他好文   时间:
2015-08-06 10:48:48   
                                阅读次数:
161
                             
                    
                        
                            
                            
                                FriendsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1539Accepted Submission(s): 784Problem Desc...
                            
                            
                                分类:
其他好文   时间:
2015-08-06 00:23:08   
                                阅读次数:
111
                             
                    
                        
                            
                            
                                uva 10608 Friends题目大意:给出两两之间的关系,求出最大的关系网。解题思路:并查集裸体。#include 
#include 
#include 
#include 
#include 
using namespace std;const int N = 30005;
typedef long l...
                            
                            
                                分类:
其他好文   时间:
2015-08-05 22:23:31   
                                阅读次数:
185
                             
                    
                        
                            
                            
                                Problem DescriptionThere arenpeople andmpairs of friends. For every pair of friends, they can choose to become online friends (communicating using onl...
                            
                            
                                分类:
其他好文   时间:
2015-08-04 22:20:52   
                                阅读次数:
108