On a horizontal number line, we have gas stations at positions stations[0], stations[1], ..., stations[N-1], where N = stations.length. Now, we add K  ...
                            
                            
                                分类:
其他   时间:
2018-04-29 00:12:00   
                                收藏:
0  评论:
0  赞:
0  阅读:
536
                             
                         
                    
                        
                            
                            
                                python 模块json import json x="[null,true,false,1]" print(json.loads(x)) # 序列化 import json dic={'name':'alvin','age':23,'sex':'male'} print(type(dic))#< ...
                            
                            
                                分类:
编程语言   时间:
2018-04-29 00:10:44   
                                收藏:
0  评论:
0  赞:
0  阅读:
177
                             
                         
                    
                        
                            
                            
                                    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2089 题意 求一个区间内,不出现4和连续的62的数的个数。 分析 可以暴力打表。也可以数位DP。 设: dp[i][0],表示长度为i,不存在不吉利数字dp[i][1],表示长度为i,不存在不吉利数字, ...
                            
                            
                                分类:
其他   时间:
2018-04-29 00:10:21   
                                收藏:
0  评论:
0  赞:
0  阅读:
220