/*=======================翻页样式===========================*/.pages 
{ width: 660px; text-align: center; font-size: 14px; float: left; margin-left: 
340px;...
                            
                            
                                分类:
Web程序   时间:
2014-05-27 01:54:01   
                                阅读次数:
491
                             
                         
                    
                        
                            
                            
                                CSS命名规范CSS样式命名整理页面结构容器: container/wrap 整体宽度:wrapper 
页头:header 内容:content 页面主体:main 页尾:footer 导航:nav 侧栏:sidebar 栏目:column 
中间内容:center导航导航:nav 导航:mainba...
                            
                            
                                分类:
Web程序   时间:
2014-05-27 01:32:59   
                                阅读次数:
374
                             
                         
                    
                        
                            
                            
                                常用的CSS命名规则头:header内容:content/container尾:footer导航:nav侧栏:sidebar栏目:column页面外围控制整体佈局宽度:wrapper左右中:left 
right center登录条:loginbar标志:logo广告:banner页面主体:main热...
                            
                            
                                分类:
Web程序   时间:
2014-05-27 01:25:49   
                                阅读次数:
405
                             
                         
                    
                        
                            
                            
                                One Person GameTime Limit:2 Seconds Memory 
Limit:65536 KBThere is an interesting and simple one person game. Suppose there 
is a number axis under your...
                            
                            
                                分类:
其他好文   时间:
2014-05-24 07:02:17   
                                阅读次数:
310
                             
                         
                    
                        
                            
                            
                                题意:每次筛三个骰子面分别为k1,k2,k3,如果三个骰子的值分别为a,b,c则得分置0,否则得到分数加上三个骰子的值的和,如果得分大于等于n则结束游戏。设E[i]表示当前得到i分时结束游戏的期望。则E[i]=sum{Pk*(E[i+k]+1)|k为三个骰子可能取得的分数且不包括a,b,c这种情况}...
                            
                            
                                分类:
其他好文   时间:
2014-05-23 11:48:09   
                                阅读次数:
303
                             
                         
                    
                        
                            
                            
                                1 
添加listctrl的头m_list.setextendedstyle(LVS_EX_FULLROWSELECT||LVS_EX_GRIdLINES);m_list.insertcolumn(0,"dasdasd",LVCFMT_CENTER,100);m_list.insertcolumn(1...
                            
                            
                                分类:
其他好文   时间:
2014-05-20 11:27:20   
                                阅读次数:
254
                             
                         
                    
                        
                            
                            
                                题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1083题意差不多是这样,给你n条线的长度,让你染色,每次只能染2个长度单位,让你先染,问是否能赢的胜利其实这题和取石子的那题(ECNU 
1328 Stripes)差不多,...
                            
                            
                         
                    
                        
                            
                            
                                Jump Game IGiven an array of non-negative 
integers, you are initially positioned at the first index of the array.Each 
element in the array represents ...
                            
                            
                                分类:
其他好文   时间:
2014-05-19 15:16:57   
                                阅读次数:
373
                             
                         
                    
                        
                            
                            
                                题目链接:
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3769
Diablo III
Time Limit: 2 Seconds      Memory Limit: 65536 KB
Diablo III is an action role-playing video game. A fe...
                            
                            
                                分类:
其他好文   时间:
2014-05-18 18:40:35   
                                阅读次数:
345
                             
                         
                    
                        
                            
                            
                                用jquery实现的一个超级简单的下拉菜单。
效果图
初始效果
鼠标悬浮效果
代码
	nav a {
		text-decoration: none;
	}
	nav > ul > li {
		float: left;
		text-align: center;
		padding: 0 0.5em;
	}
	nav li ul.sub-menu {
		...
                            
                            
                                分类:
Web程序   时间:
2014-05-18 10:48:11   
                                阅读次数:
522