链接:http://poj.org/problem?id=2421  或   http://acm.hdu.edu.cn/showproblem.php?pid=1102
Problem Description
There are N villages, which are numbered from 1 to N, and you should build some roads ...
                            
                            
                                分类:
其他好文   时间:
2014-05-10 09:34:09   
                                阅读次数:
389
                             
                    
                        
                            
                            
                                There are no interfaces on which a capture can be 
done解决方法:Open a terminal by pressingCtrl+Alt+Tand type the following 
commands:sudo dpkg-reconfigure ...
                            
                            
                                分类:
其他好文   时间:
2014-05-08 22:18:45   
                                阅读次数:
397
                             
                    
                        
                            
                            
                                Django is a high-level Python Web framework 
that encourages rapid development and clean, pragmatic design.Model: The 
application dataView: which data ...
                            
                            
                                分类:
移动开发   时间:
2014-05-07 20:02:08   
                                阅读次数:
453
                             
                    
                        
                            
                            
                                题目链接 Find the contiguous subarray within an array 
(containing at least one number) which has the largest sum. For example, given 
the array [?2,1,?3,4,...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 16:42:42   
                                阅读次数:
287
                             
                    
                        
                            
                            
                                一个用来分割字符串的函数:
strtok
char * strtok ( char * str, const char * delimiters );
Split string into tokens
A sequence of calls to this function split str into tokens, which are sequences of co...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 16:18:12   
                                阅读次数:
273
                             
                    
                        
                            
                            
                                题目:
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
Return a deep copy of the list.
思路:
主要是深层复制的问题:
本题比较简...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 02:44:38   
                                阅读次数:
344
                             
                    
                        
                            
                            
                                For a given positive integer n, please find the smallest positive integer x that we can find an integer y such that y^2 = n +x^2.
 
Input
The first line is an integer T, which is the the...
                            
                            
                                分类:
其他好文   时间:
2014-05-06 19:21:10   
                                阅读次数:
290
                             
                    
                        
                            
                            
                                五一中间断了几天,开始继续。。。
1、
??
Copy List with Random Pointer
A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.
Return a...
                            
                            
                                分类:
其他好文   时间:
2014-05-06 18:54:59   
                                阅读次数:
386
                             
                    
                        
                            
                            
                                Your favorite football team is playing a charity tournament, which is part of a worldwide fundraising
e ort to help children with disabilities. As in a normal tournament, three points are awarded to ...
                            
                            
                                分类:
其他好文   时间:
2014-05-06 18:40:06   
                                阅读次数:
337
                             
                    
                        
                            
                            
                                【Question】
Given an array S of n integers, are there elements a, b, c in S such
 that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.
Note:
Elements in ...
                            
                            
                                分类:
其他好文   时间:
2014-05-06 14:57:29   
                                阅读次数:
318