oracle方法 CREATE?OR?REPLACE?FUNCTION?IpToLong(ip?in?varchar2)
return?number?is??
p1?number;?
p2?number;?
p3?number;
??begin??
????p1?:=?instr(ip,?‘.‘,?1,?1);??
???...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 08:13:37   
                                阅读次数:
203
                             
                         
                    
                        
                            
                            
                                1、拷贝cms公钥到managed上,cms依赖免秘钥的root执行环境 #非默认端口,你懂的 ssh-copy-id -i ~/.ssh/id_rsa.pub "-p port_number root@192.168.201.74" 2、managed上存放iso目录,拷贝镜像存放到该目录 #目录位...
                            
                            
                                分类:
其他好文   时间:
2014-07-21 10:17:27   
                                阅读次数:
341
                             
                         
                    
                        
                            
                            
                                Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
                            
                            
                                分类:
其他好文   时间:
2014-07-21 10:00:12   
                                阅读次数:
185
                             
                         
                    
                        
                            
                            
                                题意: 给你一个双向连通图,求 获得权值最大 的 哈密顿通路的 权值 和 这个权值对应的数目; 其中权值计算方法是 列如 ABCD 权值是a+b+c+d+ab+bc+cd 如果 A,B,C 和B,C,D 可构成三角形分别加上abc,bcd;这个题 和poj 3311 很相像: 那个需要记录一个最后....
                            
                            
                                分类:
其他好文   时间:
2014-07-21 09:32:05   
                                阅读次数:
263
                             
                         
                    
                        
                            
                            
                                The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font fo...
                            
                            
                                分类:
其他好文   时间:
2014-07-21 09:31:07   
                                阅读次数:
186
                             
                         
                    
                        
                            
                            
                                Given a non-negative number represented as an array of digits, plus one to the number.The digits are stored such that the most significant digit is at...
                            
                            
                                分类:
其他好文   时间:
2014-07-21 09:14:10   
                                阅读次数:
168
                             
                         
                    
                        
                            
                            
                                Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
                            
                            
                                分类:
其他好文   时间:
2014-07-21 09:07:24   
                                阅读次数:
207
                             
                         
                    
                        
                            
                            
                                I-number
Time Limit: 5000ms   Memory limit: 65536K  有疑问?点这里^_^
题目描述
The I-number of x is defined to be an integer y, which satisfied the the conditions below:
1.  y>x;
2.  the sum of each...
                            
                            
                                分类:
其他好文   时间:
2014-07-20 23:24:13   
                                阅读次数:
298
                             
                         
                    
                        
                            
                            
                                ZOJ3543 Number String状态f[i][j]表示长度为I的全排列,符合字符串的要求,最后一位数字是j的方案数。重点在要始终保持是f算的排列的数量,然后转移时用这些推出来新的情况。就是j#include #include using namespace std;const long l...
                            
                            
                                分类:
其他好文   时间:
2014-07-20 21:39:23   
                                阅读次数:
230
                             
                         
                    
                        
                            
                            
                                今天做了三道LeetCode上的简单题目,每道题都是用c++和Python两种语言写的,因为c++版的代码网上比较多,所以就只分享一下Python的代码吧,刚学完Python的基本语法,做做LeetCode的题目还是不错的,对以后找工作面试也有帮助!
刚开始就从AC率最高的入手吧!
1.Given an array of integers, every element appe...
                            
                            
                                分类:
编程语言   时间:
2014-07-20 15:27:41   
                                阅读次数:
262