1 /** 2 旋转卡壳,, 3 **/ 4 #include 5 #include 6 
#include 7 #include 8 using namespace std; 9 10 const double eps = 1e-8; 11 
struct point {...
                            
                            
                                分类:
其他好文   时间:
2014-05-13 21:35:05   
                                阅读次数:
374
                             
                    
                        
                            
                            
                                1 #include 2 #include 3 #include 4 #include 5 using 
namespace std; 6 7 struct point{ 8 int x,y; 9 };10 11 struct line{12 point 
a,b;13 };14...
                            
                            
                                分类:
其他好文   时间:
2014-05-13 20:29:09   
                                阅读次数:
292
                             
                    
                        
                            
                            
                                1 /** 2 判断直线位置关系 3 **/ 4 #include 5 #include 6 
#include 7 using namespace std; 8 struct point { 9 double x,y;10 point(double 
x=0,double y=...
                            
                            
                                分类:
其他好文   时间:
2014-05-13 20:28:07   
                                阅读次数:
254
                             
                    
                        
                            
                            
                                1 /** 2 极角排序输出,,, 3 主要atan2(y,x) 容易失精度,,用 4 bool 
cmp(point a,point b){ 5 if(cross(a-tmp,b-tmp)>0) 6 return 1; 7 
if(cross(a-tmp,b-tmp)...
                            
                            
                                分类:
其他好文   时间:
2014-05-13 20:05:34   
                                阅读次数:
242
                             
                    
                        
                            
                            
                                1 #include 2 #include 3 #include 4 #include 5 
#include 6 using namespace std; 7 struct point { 8 double x,y; 9 };10 point 
be[100005],en[100...
                            
                            
                                分类:
其他好文   时间:
2014-05-13 20:03:30   
                                阅读次数:
288
                             
                    
                        
                            
                            
                                1 /** 2 注意: 千万得小心。。就因为一个分号,调了一个晚上。。。 3 **/ 4 
#include 5 #include 6 using namespace std; 7 struct point { 8 int x,y; 9 }; 10 
11 struct...
                            
                            
                                分类:
其他好文   时间:
2014-05-13 19:43:02   
                                阅读次数:
275
                             
                    
                        
                            
                            
                                If you runfsck, the filesystem check and repair 
command, it might find data fragments that are not referenced anywhere in the 
filesystem. In particula...
                            
                            
                                分类:
其他好文   时间:
2014-05-13 16:59:54   
                                阅读次数:
276
                             
                    
                        
                            
                            
                                随着SNS、微博(WEB2.0)的兴起,一大批社会化工具横空出世,那一年每个月都会产生一家社会化的创业团队,还有不少公司获得了融资。而Google百度的重视“社会化”已经成为SEO排名的一个重要标准,除了内容之外,社会化因素的搜索引擎认为最有价值的。可三年过去了,我猛然发现,没有一个团队能做大做强,...
                            
                            
                                分类:
其他好文   时间:
2014-05-13 16:55:47   
                                阅读次数:
273
                             
                    
                        
                            
                            
                                /media : Mount point for removeable 
mediaPurposeThis directory contains subdirectories which are used as mount 
points for removeable media such as flo...
                            
                            
                                分类:
其他好文   时间:
2014-05-13 16:37:16   
                                阅读次数:
362