cookie的使用1.创建cookie对象:function addCookie(name, value) {	var path = filterRoot();	var cookieString = name + "=" + escape(value) + ";domain=" + path;	do...
                            
                            
                                分类:
其他好文   时间:
2015-02-10 11:06:37   
                                阅读次数:
158
                             
                         
                    
                        
                            
                            
                                Description
You are in charge of setting up the press room for the inaugural meeting of the United Nations Internet eXecutive (UNIX), which has an international mandate to make the free flow of inf...
                            
                            
                                分类:
其他好文   时间:
2015-02-10 00:37:46   
                                阅读次数:
118
                             
                         
                    
                        
                            
                            
                                Problem Description
There is a large room in the Pyramid called Room-of-No-Return. Its floor is covered by rectangular tiles of equal size. The name of the room was chosen because of the very high ...
                            
                            
                                分类:
其他好文   时间:
2015-02-06 09:36:59   
                                阅读次数:
185
                             
                         
                    
                        
                            
                            
                                At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door...
                            
                            
                                分类:
其他好文   时间:
2015-02-04 09:21:25   
                                阅读次数:
143
                             
                         
                    
                        
                            
                            
                                如题:处理办法:1. 使用struts标签 ]+>','').substring(0,77)"escape="false"/> 过滤掉所有 标签2. 使用 js var div = document.getElementById('div'); div.innerHTML =...
                            
                            
                                分类:
Web程序   时间:
2015-02-03 21:20:28   
                                阅读次数:
188
                             
                         
                    
                        
                            
                            
                                Problem Description
Once again, James Bond is fleeing from some evil people who want to see him dead. Fortunately, he has left a bungee rope on a nearby highway bridge which he can use to escape fr...
                            
                            
                                分类:
其他好文   时间:
2015-02-03 09:34:02   
                                阅读次数:
181
                             
                         
                    
                        
                            
                            
                                Red and Black
Time Limit: 1000MS
 
Memory Limit: 30000K
Total Submissions: 23904
 
Accepted: 12927
Description
There is a rectangular room, covered with square tiles....
                            
                            
                                分类:
其他好文   时间:
2015-02-02 18:07:53   
                                阅读次数:
111
                             
                         
                    
                        
                            
                            
                                题目大意:有n条路可以选择,随机选择,选择了这条路时有一条规则,假如攻击力f大于了这条路的ci,那么可以从这条路逃出去,花费ti(有对应公式计算)
假如小于等于该值,则花费一天,并且攻击力增加ci,重复刚才的操作。问最终的期望是多少。
思路:
dp[i]表示的是攻击力为i的情况下,出去的期望。
根据期望的概念可以得
状态方程:dp[i]+=(1+dp[i+c[i])/n (当攻击力小于等...
                            
                            
                                分类:
其他好文   时间:
2015-02-02 16:04:19   
                                阅读次数:
119
                             
                         
                    
                        
                            
                            
                                导出oracle 到 mysql的解决办法使用sqluldr2命令如下sqluldr2 USER=weibh/1234@dydb file=c:\1.txt sql=sql.sql FORMAT=MYSQLINS table=dpt_usr null=null escape=0x5c quote=0...
                            
                            
                                分类:
数据库   时间:
2015-01-31 21:50:14   
                                阅读次数:
198
                             
                         
                    
                        
                            
                            
                                错误现象:[root@localhost ~]# telnet 192.168.10.130 3306Trying 192.168.10.130...Connected to 192.168.10.130.Escape character is '^]'.GHost '192.168.10.120'...
                            
                            
                                分类:
数据库   时间:
2015-01-30 17:01:37   
                                阅读次数:
162