首页 > 其他
(简单) POJ 2387 Til the Cows Come Home,Dijkstra。
Description Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the mor...
分类:其他   时间:2015-03-15 00:35:21    收藏:0  评论:0  赞:0  阅读:433
poj2778DNA Sequence (AC自动机+矩阵快速幂)
转载请注明出处:http://www.cnblogs.com/fraud/ ——by fraudDNA SequenceTime Limit: 1000MSMemory Limit: 65536KDescriptionIt's well known that DNA Sequence is a se...
分类:其他   时间:2015-03-15 00:35:01    收藏:0  评论:0  赞:0  阅读:430
(简单) POJ 2502 Subway,Dijkstra。
Description You have just moved from a quiet Waterloo neighbourhood to a big, noisy city. Instead of getting to ride your bike to school every day...
分类:其他   时间:2015-03-15 00:34:41    收藏:0  评论:0  赞:0  阅读:362
LeetCode-87 Scramble String
Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation...
分类:其他   时间:2015-03-15 00:34:31    收藏:0  评论:0  赞:0  阅读:418
AC自动机
给定n个模式串在主串中出现了几个#include #include const int MAXPT=500007; //最大节点数const int size=26; //子节点数const char start='a'; //子节点标号对应关系 class Ac_Automat{pr...
分类:其他   时间:2015-03-15 00:34:15    收藏:0  评论:0  赞:0  阅读:278
(简单) POJ 1502 MPI Maelstrom,Dijkstra。
Description BIT has recently taken delivery of their new supercomputer, a 32 processor Apollo Odyssey distributed shared memory machine with a hie...
分类:其他   时间:2015-03-15 00:34:01    收藏:0  评论:0  赞:0  阅读:358
(简单) POJ 1511 Invitation Cards,SPFA。
Description In the age of television, not many people attend theater performances. Antique Comedians of Malidinesia are aware of this fact. They wa...
分类:其他   时间:2015-03-15 00:33:51    收藏:0  评论:0  赞:0  阅读:409
Cacti部署
Lamp准备篇请看前文博客 安装rrdtool工具 这里使用源码安装 解压rrdtool包 配置(编译安装需要gcc等编译程序支持) 注意如果配置出错缺乏libxml2-devel、pango-devel、需要进行自我解决,否则不会成功。 配置完成 编译和安装 Make &&make install...
分类:其他   时间:2015-03-15 00:33:31    收藏:0  评论:0  赞:0  阅读:401
使用github上面别人的pyqt4+pyserial代码的时遇到的问题
因为想要学习python界面和串口通信。所以在github上面找到了这个一个程序 地址是http://eli.thegreenplace.net/2009/08/07/a-live-data-monitor-with-python-pyqt-and-pyserial我使用git将代码clone出来之...
分类:其他   时间:2015-03-15 00:32:51    收藏:0  评论:0  赞:0  阅读:379
Tomcat性能调优-让小猫飞奔[转]
http://blog.csdn.net/lifetragedy/article/details/7708724 http://blog.csdn.net/lifetragedy/article/details/43817903
分类:其他   时间:2015-03-15 00:32:31    收藏:0  评论:0  赞:0  阅读:316
HDU-3666 THE MATRIX PROBLEM
很容易发现约束条件:L#include #include #include #include #include #include #include #define rep(i, l, r) for(int i=l; i=r; i--)#define N 456#define MAX 1'9') { ...
分类:其他   时间:2015-03-15 00:32:21    收藏:0  评论:0  赞:0  阅读:327
微软职位内部推荐-Senior Software Development Engineer_Commerce
微软近期Open的职位:Are you looking for a high impact project that involves processing of billions of dollars, hundreds of millions of transactions, and tens ...
分类:其他   时间:2015-03-15 00:32:11    收藏:0  评论:0  赞:0  阅读:294
深刻认识一下session
session是什么:session即会话,是一种持续性,双向的连接。session和cookie在本质上没什么区别,都是针对http协议的局限性提出的一种保持客户端和服务端会话状态的机制。session的实现1.cookie : 通过在cookie中存储sessionID2.url重写:index...
分类:其他   时间:2015-03-15 00:32:01    收藏:0  评论:0  赞:0  阅读:308
nyoj 月老的难题 (稳定婚姻问题)
百度了一下稳定婚姻问题。。 还有什么GS算法。。以为什么高端的东西。。尼玛结果代码跟上一题一模一样的好吗。。醉了。。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #...
分类:其他   时间:2015-03-15 00:31:31    收藏:0  评论:0  赞:0  阅读:334
Hadoop-1.2.1集群虚拟机搭建(上)--环境准备
VM虚拟机配置:NAT网络配置参考:http://www.cnblogs.com/gongice/p/4337379.html安装Hadoop前的装备(在每一台主机上):配置sudo(可选):[root@hadoop01 hadoop]# chmod u+w /etc/sudoers[root@ha...
分类:其他   时间:2015-03-15 00:31:21    收藏:0  评论:0  赞:0  阅读:286
ZeroMQ接口函数之 :zmq_send_const – 从一个socket上发送一个固定内存数据
ZeroMQ API 目录:http://www.cnblogs.com/fengbohello/p/4230135.html—————————————————————————————————————ZeroMQ 官方地址:http://api.zeromq.org/4-1:zmq-send-con...
分类:其他   时间:2015-03-15 00:30:41    收藏:0  评论:0  赞:0  阅读:367
(简单) POJ 3268 Silver Cow Party,Dijkstra。
Description One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to be held at farm #X (1 ≤ ...
分类:其他   时间:2015-03-15 00:30:31    收藏:0  评论:0  赞:0  阅读:365
动态生成lambda表达式
//1.0 获取我的申请单 int uid = UserMgr.GetCurrentLoginUser().uID; //2.0 获取参数 string kname = f["kname"]; string s...
分类:其他   时间:2015-03-15 00:30:21    收藏:0  评论:0  赞:0  阅读:427
gulp初体验记录
目前用的业界比较知名的三个前端构建工具:grunt、gulp、fis,自己此前一直都是只在用grunt,fis看过一点,gulp则一直都没注意过,直到最近发现好像用的人越来越多,所以今天也就抽了点时间尝试了一下。 【什么是gulp】 比较官方的一句话就是:gulp是一种基于流的,代码优于配置...
分类:其他   时间:2015-03-15 00:30:11    收藏:0  评论:0  赞:0  阅读:356
(简单) POJ 3159 Candies,Dijkstra+差分约束。
Description During the kindergarten days, flymouse was the monitor of his class. Occasionally the head-teacher brought the kids of flymouse’s class...
分类:其他   时间:2015-03-15 00:30:01    收藏:0  评论:0  赞:0  阅读:277
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!