这种简单题做了好长时间,我是不是有点逗?地址:http://acm.fzu.edu.cn/problem.php?pid=2034不解释了,自己看吧,练手的好题上个代码吧#include
#include #include int main(){ int s,n,m,i,j,k,t; c...
分类:
其他好文 时间:
2014-05-10 02:14:11
阅读次数:
328
Cannotreadlifecyclemappingmetadataforartifactorg.apache.maven.plugins:maven-clean-plugin:maven-plugin:2.4.1:runtime
Cause: error in opening zip我的解决办法:...
分类:
其他好文 时间:
2014-05-10 01:50:53
阅读次数:
349
今天在家里的RHLE5.5上安装apache的时候,先用user1用户./configure命令配置,然后才用root用户make &&
make install,结果apache起来的时候就报如下错误: httpd: apr_sockaddr_info_get() failed
forbogon....
分类:
系统相关 时间:
2014-05-10 01:41:36
阅读次数:
574
关于HBase的sink的所有内容均在org.apache.flume.sink.hbase包下。
每个sink包括自己定制的,都extends AbstractSink implements Configurable。
一、首先是configure(Context context)方法。该...
分类:
其他好文 时间:
2014-05-05 10:55:40
阅读次数:
462
php中奖概率算法,可用于刮刮卡,大转盘等抽奖算法。用法很简单,代码里有详细注释说明,一看就懂?123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555...
分类:
Web程序 时间:
2014-05-05 10:55:07
阅读次数:
377
http://acm.hdu.edu.cn/showproblem.php?pid=1598
1 #include 2 #include 3 #include 4 #define maxn 2000 5 using namespace std; 6
const int inf=1<<30; 7...
分类:
其他好文 时间:
2014-05-05 10:53:38
阅读次数:
344
http://acm.hdu.edu.cn/showproblem.php?pid=1599floyd找最小环。 1 #include 2 #include 3
#include 4 #define maxn 200 5 using namespace std; 6 const int inf...
分类:
其他好文 时间:
2014-05-05 10:52:15
阅读次数:
315
function Http_num() //浏览计数
在同目录里建立一个count文件,访问网页次数计算结果保存在这里count文件里{ $hanld=fopen(".count.txt","a");
fclose($hanld); ...
分类:
Web程序 时间:
2014-05-05 10:44:20
阅读次数:
406
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3998解题报告:求一个数列的最长上升子序列,并求像这样长的不相交的子序列最多有多少个。我用的是最简单的方法,就是每次求最长上升子序列,然后每次将求得的子序列从数列里面删掉,然后再对剩下的数列求最长上升子序...
分类:
其他好文 时间:
2014-05-05 10:04:28
阅读次数:
236
__construct, __destruct , __call,
__callStatic,__get, __set, __isset, __unset , __sleep, __wakeup, __toString,
__set_state, __clone and __autoload
分类:
Web程序 时间:
2014-05-05 09:38:23
阅读次数:
488