你是否曾为业余项目没有进展而惆怅过?想要有完整两天时间(没有任何的放松机会)来编程也不现实,时间的零乱往往让人不知所措。还有一个重要的问题就是你上个星期写的代码,隔一个星期后再接着写,你还能记得多少?为此,可汗学院计算机科学学院院长暨jQuery创始人John 
Resig撰文分享了自己的心得和体会。...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:11:34   
                                阅读次数:
235
                             
                         
                    
                        
                            
                            
                                Agri-Net
Time Limit: 1000MS
 
Memory Limit: 10000K
Total Submissions: 36780
 
Accepted: 14825
Description
Farmer John has been elected mayor of his town! One of his campa...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:04:15   
                                阅读次数:
229
                             
                         
                    
                        
                            
                            
                                6.7备注
有时有个像Pasca中“记录”和C中“数据体”的数据类型非常有用。集合一些数据项。一个空类定义可以清楚地显示:
class Employee:
pass
john = Employee() # Create an empty employee record
# Fill the fields of the record
john.name = ’John Doe’
joh...
                            
                            
                                分类:
编程语言   时间:
2014-05-07 11:25:11   
                                阅读次数:
311
                             
                         
                    
                        
                            
                            
                                John is going on a fishing trip. He has h hours available (1 <= h <= 16), and there are n lakes in the area (2 <= n <= 25) all reachable along a single, one-way road. John starts at lake 1, but he can finish at any lake he wants. He can only travel from on...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 08:48:52   
                                阅读次数:
515
                             
                         
                    
                        
                            
                            
                                Description
Farmer John has purchased a lush new rectangular pasture composed of M by
N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) square parcels. He wants to grow some yummy corn for the cows on a number of square...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 05:46:43   
                                阅读次数:
323
                             
                         
                    
                        
                            
                            
                                1 JavaScript中对象
javaScript中所有的事物都是对象,对象时指带有属性和方法的
 对象的创建
定义并创建对象的实例,然后给对象添加属性
person=new Object();
person.firstname="Bill";
person.lastname="Gates";
 隐式创建
person={firstname:"John",lastname:"Doe"...
                            
                            
                                分类:
编程语言   时间:
2014-04-30 22:14:38   
                                阅读次数:
258
                             
                         
                    
                        
                            
                            
                                DescriptionFarmer John completed his new barn 
just last week, complete with all the latest milking technology. Unfortunately, 
due to engineering probl...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 16:46:46   
                                阅读次数:
371
                             
                         
                    
                        
                            
                            
                                Corn Fields
Time Limit: 2000MS
 
Memory Limit: 65536K
Total Submissions: 6460
 
Accepted: 3436
Description
Farmer John has purchased a lush new rectangular pasture compos...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:37:20   
                                阅读次数:
339
                             
                         
                    
                        
                            
                            
                                Aggressive cows
Time Limit: 1000MS
 
Memory Limit: 65536K
Total Submissions: 5436
 
Accepted: 2720
Description
Farmer John has built a new long barn, with N (2 <= N <= 100,...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:22:21   
                                阅读次数:
304