摘要: 数丑陋 代码(C)本文地址:http://blog.csdn.net/caroline_wendy题目: 我们把仅仅包括因子2, 3 和 5的数称作丑数. 求按从小到大的顺序的第5个丑数.能够设置一个数组包括所须要的丑数, 依次比較乘以2, 乘以3, 乘以5的最小的数, 最后返回结果.如第5个丑数是... 阅读全文
posted @ 2015-10-03 21:52 phlsheji 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 资源:…….#ifndef MODULE_SYMBOL_PREFIX#define MODULE_SYMBOL_PREFIX ""#endif…….struct kernel_symbol //内核符号结构{ unsignedlong value; //该符号在内存地址中的地址 constch... 阅读全文
posted @ 2015-10-03 21:12 phlsheji 阅读(2380) 评论(0) 推荐(0) 编辑
摘要: watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvbGVlcjE2OA==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast" alt=""> ... 阅读全文
posted @ 2015-10-03 19:45 phlsheji 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 刚刚配置hadoop,namenode常开,但datanode但保留了错误。但不启动:2014-05-04 10:43:33,970 WARNorg.apache.hadoop.hdfs.server.datanode.DataNode: Problem connecting to server:h... 阅读全文
posted @ 2015-10-03 18:25 phlsheji 阅读(3421) 评论(0) 推荐(0) 编辑
摘要: three collection tool for greenplum:pstack、strace、gcore. [gpadmin@gtlions5913 ~]$ ps -ef | grep postgres|grep d... 阅读全文
posted @ 2015-10-03 16:56 phlsheji 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 职务地址:pid=3172">HDU 3172带权并查集水题。每次合并的时候维护一下权值。注意坑爹的输入。。代码例如以下:#include #include #include #include #include #include #include #include #include #include... 阅读全文
posted @ 2015-10-03 16:26 phlsheji 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Given a collection of intervals, merge all overlapping intervals.For example,Given[1,3],[2,6],[8,10],[15,18],return[1,6],[8,10],[15,18].bool operator ... 阅读全文
posted @ 2015-10-03 15:05 phlsheji 阅读(166) 评论(0) 推荐(0) 编辑
摘要: //area=(n*m)/ ((x+1)*(k-x+1)) //1: x==0;//2: x=n-1//3: x=m-1# include long long max(long long x,long long y){ return x>y?x:y;}int main(){ long long n... 阅读全文
posted @ 2015-10-03 13:53 phlsheji 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Exceptional Control Flow The program counter assumes a sequence of values a0,a1,...,an−1 where each ak is the address of some corresponding instru... 阅读全文
posted @ 2015-10-03 12:59 phlsheji 阅读(341) 评论(0) 推荐(0) 编辑
摘要: Flex4中间PopupManager分类似模仿桌面用户界面弹出窗体,有些人还喜欢JS弹出屏幕操作,底层接口灰色禁用掉。创建需要要喷射形式的文件,码如下面: showCloseButton=true 显示关闭button并处理Close时间。測试程序例如以下: ... 阅读全文
posted @ 2015-10-03 11:53 phlsheji 阅读(212) 评论(0) 推荐(0) 编辑
摘要: eclipse+Java2WSDL+WSDL2Java一、eclipse下怎样用axis生成wsdl能够使用axis提供的Java2WSDL功能生成所要公布类的 WSDL,过程例如以下:1.在你的eclipse或myeclipse的项目中找到你引入的 axis.jar包,打开它,在其里面找到 org... 阅读全文
posted @ 2015-10-03 10:50 phlsheji 阅读(328) 评论(0) 推荐(0) 编辑
摘要: CODE:#!/usr/bin/python # -*- coding: utf-8 -*-'''Created on 2014-7-4@author: guaguastd@name: findPopularRepost.py''' if __name__ == '__main__': ... 阅读全文
posted @ 2015-10-03 10:05 phlsheji 阅读(518) 评论(0) 推荐(0) 编辑
摘要: 代码地址:http://download.csdn.net/detail/jiangliqing1234/8027039流程具体解释:http://blog.csdn.net/lyq8479/article/details/6428288#reply使用的假设soap版本号太高,在主线程:http:... 阅读全文
posted @ 2015-10-03 09:10 phlsheji 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 四象限法则把事情依照重要和紧急两个不同的程度进行划分。分为四个“象限”。四个象限的划分有利于对事情进行深刻的认识及有效的管理。1、第一象限是重要又急迫的事。须要优先解决。这也是没有计划的做法,无休止地一直在“瞎忙”。2、第二象限是重要但不紧急的事。法则重点,这才是最须要做的事。须要制定计划,按时完毕... 阅读全文
posted @ 2015-10-03 08:27 phlsheji 阅读(1328) 评论(0) 推荐(0) 编辑