一、三种常见的著名的命名规则:1、Camel(驼峰式命名):首字母是小写的,接下来的单词都以大写字母开头。例如:var myTestValue=0;2、Pascal(帕斯卡命名):首字母是大写的,接下来的单词都以大写字母开头。例如:var MyTestValue=0;3、匈牙利命名:属性+类型+对象...
                            
                            
                                分类:
编程语言   时间:
2014-10-15 18:48:11   
                                阅读次数:
200
                             
                    
                        
                            
                            
                                (1)名称的大小写Pascal大小写形式规则名称中单词首字母大写,名称空间,类以及基类中的成员名称都应该遵循此规则using System;class Programcamel大小写形式规则类似Pascal形式,但首字母小写以下三种情况可以用camel规则1,类型中所有私有成员的字段的名称:priv...
                            
                            
                         
                    
                        
                            
                            
                                ``Accordian'' PatienceYou are to simulate the playing of games of ``Accordian'' patience, the rules for which are as follows:Deal cards one by one in ...
                            
                            
                                分类:
其他好文   时间:
2014-10-14 16:11:58   
                                阅读次数:
235
                             
                    
                        
                            
                            
                                题意:Alice和Bob这对狗男女又开始玩游戏了!!!!一开始前者有a元,后者有b元,每次玩,每个人赢得概率是对半开的,令c为a,b中的最小值,那么每次玩,谁输了就给赢的人c元,问Alice赢的概率和游戏的盘数期望值!
思路:貌似会迭代!公式也不好推。。。发现概率是0.5  然后误差范围是1e-5, 那么只要到达一定深度以后概率就可以忽略不计了!
    #include 
#include ...
                            
                            
                                分类:
其他好文   时间:
2014-10-11 14:09:45   
                                阅读次数:
166
                             
                    
                        
                            
                            
                                Description``Accordian'' PatienceYou are to simulate the playing of games of ``Accordian'' patience, the rules for which are as follows:Deal cards one...
                            
                            
                                分类:
其他好文   时间:
2014-10-10 23:21:24   
                                阅读次数:
423
                             
                    
                        
                            
                            
                                glue 胶水vegetarian 素食者; 素食主义者;素食的 North Korea 朝鲜South Korea 韩国camel 骆驼cabbage 白菜pepper 辣椒fried pork with peppertake a dump 上大号take a pee 去小便food market...
                            
                            
                                分类:
其他好文   时间:
2014-10-07 19:59:14   
                                阅读次数:
229
                             
                    
                        
                            
                            
                                /etc/local下面的文件[root@localhost local]# lsbin etc games include lib lib64 libexec sbin share src[root@localhost local]# ls -ltotal 40drwxr-xr-x. 2 roo....
                            
                            
                                分类:
其他好文   时间:
2014-10-06 21:37:50   
                                阅读次数:
176
                             
                    
                        
                            
                            
                                Curling 2.0
Time Limit: 1000MS
 
Memory Limit: 65536K
Total Submissions: 11879
 
Accepted: 5028
Description
On Planet MM-21, after their Olympic games this year, curlin...
                            
                            
                                分类:
其他好文   时间:
2014-10-05 19:24:58   
                                阅读次数:
206
                             
                    
                        
                            
                            
                                Code path:
https://github.com/bluesilence/Lisp/tree/master/clojure/projects/room-escape
As I have been a fan of room-escape games, there have always been a desire to make my own story of a roo...
                            
                            
                                分类:
Web程序   时间:
2014-10-05 17:44:38   
                                阅读次数:
269
                             
                    
                        
                            
                            
                                Problem Description
Everyone knows Matt enjoys playing games very much. Now, he is playing such a game. There are N rooms, each with one door. There are some keys(could be none) in each room corres...
                            
                            
                                分类:
其他好文   时间:
2014-10-04 20:38:27   
                                阅读次数:
234