上一页 1 ··· 311 312 313 314 315 316 317 318 319 ··· 339 下一页
  2017年5月10日
摘要: /* c++ static变量,全局变量。局部变量 */ #include<iostream> using namespace std; static int x=1; static int y=2; struct A { static int x; static int y; }; int A:: 阅读全文
posted @ 2017-05-10 18:40 ljbguanli 阅读(132) 评论(0) 推荐(0)
摘要: 题意就不多说了 我使用bfs+bfs做的 听说bfs+dfs也能做 我认为都几乎相同 我就说一下bfs+bfs 注意:箱子走过的地方还能再走 但从同一方向过来的就不能再走了 所以 标记时 得同一时候记录箱子和方向 方向能够依据人的位置来推断 箱子能往某一方向推的两个条件是: 目的地是空的 人能推动及 阅读全文
posted @ 2017-05-10 17:57 ljbguanli 阅读(135) 评论(0) 推荐(0)
摘要: Apacheserver:http://httpd.apache.org,世界上用的最多的server,开放源码,支持跨平台,可移植性。模块支持丰富。虽速度和性能及内存消耗不及其它轻量级Webserver,可是属于重量级产品。 Lighttpdserver:http://www.lighttpd.n 阅读全文
posted @ 2017-05-10 17:11 ljbguanli 阅读(112) 评论(0) 推荐(0)
摘要: 直接看以下的运算: public class TestConvert{ public static void main(String []args){ byte b1=67; byte b2=89; byte b=(byte)(b1+b2);//系统强制转换成int型运算。须要强制转换符 Syste 阅读全文
posted @ 2017-05-10 15:52 ljbguanli 阅读(171) 评论(0) 推荐(0)
摘要: 书籍推荐: 实例代码 : http://download.csdn.net/detail/jiangtao_st/7677503 Server端代码 <span style="font-size:12px;">/** * * <p> * Netty Server Simple * </p> * * 阅读全文
posted @ 2017-05-10 14:37 ljbguanli 阅读(145) 评论(0) 推荐(0)
摘要: 再分布式系统中。ACL(Access Control)十分重要;Zookeeper也提供了十分好用的ACL接口,以下我记录一下在nodejs下怎样实现zookeeper的訪问控制。 Zookeeper的ACL通常表示为:Scheme:Id:Permission,即Scheme,Id,Permissi 阅读全文
posted @ 2017-05-10 12:56 ljbguanli 阅读(494) 评论(0) 推荐(0)
摘要: 一,Redis配置 1、下载安装 $ wget http://download.redis.io/releases/redis-2.8.17.tar.gz $ tar xzf redis-2.8.17.tar.gz $ cd redis-2.8.17 $ make $ make install Re 阅读全文
posted @ 2017-05-10 11:47 ljbguanli 阅读(153) 评论(0) 推荐(0)
摘要: To the Max Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 40302 Accepted: 21329 Description Given a two-dimensional array of positive and 阅读全文
posted @ 2017-05-10 10:17 ljbguanli 阅读(116) 评论(0) 推荐(0)
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=5386 Problem Description You have an n∗n matrix.Every grid has a color.Now there are two types of operating: 阅读全文
posted @ 2017-05-10 09:43 ljbguanli 阅读(179) 评论(0) 推荐(0)
摘要: <!doctype html> <html> <head> <meta charset="utf-8"> <title>无标题文档</title> <style type="text/css"> body{ background:#000;} .love{ font-size:800px; text 阅读全文
posted @ 2017-05-10 08:33 ljbguanli 阅读(96) 评论(0) 推荐(0)
上一页 1 ··· 311 312 313 314 315 316 317 318 319 ··· 339 下一页