摘要:
题目链接:http://www.patest.cn/contests/pat-a-practise/1034 题目: 1034. Head of a Gang (30) 时间限制 100 ms 内存限制 65536 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Y 阅读全文
posted @ 2016-01-30 21:23
phlsheji
阅读(206)
评论(0)
推荐(0)
摘要:
我们都知道,在MySQL中。能够使用mysqladmin命令的extended-status选项来查看MySQL的执行状态,比方获取我们经常关注的几个值: # mysqladmin -uroot -proot ext |grep "Questions\|Queries\|Innodb_rows\|C 阅读全文
posted @ 2016-01-30 19:52
phlsheji
阅读(277)
评论(0)
推荐(0)
摘要:
重开发人员的劳动成果。转载的时候请务必注明出处:http://blog.csdn.net/haomengzhu/article/details/27706967 游戏中的基本元素 在曾经文章中。我们具体介绍了游戏开发的概念以及 Cocos2d-x 与其它游戏引擎的不同之处,甚至已经学会了它与众不同的 阅读全文
posted @ 2016-01-30 19:36
phlsheji
阅读(247)
评论(0)
推荐(0)
摘要:
JDK(Java Development Kit)是整个Java的核心,包含了Java执行环境、Java工具和Java基础类库。JDK作为JAVA开发的环境,无论是做JAVA开发还是做安卓开发,都必须在电脑上安装JDK。 64位下载地址:http://www.oracle.com/technetwo 阅读全文
posted @ 2016-01-30 19:11
phlsheji
阅读(195)
评论(0)
推荐(0)
摘要:
HYSBZ 2243 染色 题目链接 树链剖分,关键在于线段树的维护,对于每一个结点要记录下最左边和最右边的颜色。合并的时候。假设颜色同样那么颜色段要减1 代码: #include <cstdio> #include <cstring> #include <vector> #include <alg 阅读全文
posted @ 2016-01-30 17:33
phlsheji
阅读(191)
评论(0)
推荐(0)
摘要:
实例场景。对于字符串:"AAAA AAA BBBB BBB BBB CCCCCCCC"。1. 分隔为 “AAAA AAA” 。 "BBBB BBB BBB"。"CCCCCCCC"2.分隔为 “AAAA" ,”AAA“。”BBBB“,"BBB"。"BBB",”CCCCCCCC“实现代码:void Ma 阅读全文
posted @ 2016-01-30 16:00
phlsheji
阅读(2216)
评论(0)
推荐(0)
摘要:
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree is symmetric: 1 / \ 2 2 / 阅读全文
posted @ 2016-01-30 14:52
phlsheji
阅读(152)
评论(0)
推荐(0)
摘要:
我在这里给出我编译的样例 cmake -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="D:\MinGW\msys\1.0\local" ./ 大家依据自己须要自行做相关改动。 阅读全文
posted @ 2016-01-30 14:21
phlsheji
阅读(253)
评论(0)
推荐(0)
摘要:
WebCollector爬虫官网:https://github.com/CrawlScript/WebCollector 技术讨论群:250108697 怎样将爬虫内核导入自己的项目? 1.进入爬虫官网http://crawlscript.github.io/WebCollector/。下载压缩包。 阅读全文
posted @ 2016-01-30 13:45
phlsheji
阅读(7043)
评论(1)
推荐(0)
摘要:
假设文件 data/cache/index.html 存在。那么才重写。否则使用默认的MVC 重写。by default.fu@foxmail.com RewriteEngine on RewriteCond %{DOCUMENT_ROOT}/data/cache/list_1.html -f Re 阅读全文
posted @ 2016-01-30 13:11
phlsheji
阅读(236)
评论(0)
推荐(0)
摘要:
javascript 之 事件托付 长处:1、提高性能(仅仅须要对父级进行操作,子节点相同会拥有其相关属性和方法) 2、对于新加入的事件。也让其拥有父级事件的属性 <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <titl 阅读全文
posted @ 2016-01-30 12:30
phlsheji
阅读(241)
评论(0)
推荐(0)
摘要:
Follow up for problem "Populating Next Right Pointers in Each Node". What if the given tree could be any binary tree? Would your previous solution sti 阅读全文
posted @ 2016-01-30 12:27
phlsheji
阅读(155)
评论(0)
推荐(0)
摘要:
var confirmOrderForm=document.getElementById("confirmOrderForm"); var url="${pageContext.request.contextPath }/confirmOrder/confirmOrder.action?team=a 阅读全文
posted @ 2016-01-30 11:32
phlsheji
阅读(319)
评论(0)
推荐(0)
摘要:
// TODO Auto-generated method stub //获取本地主机IP对象 InetAddress ip = InetAddress.getLocalHost(); System.out.println(ip.getHostAddress()); System.out.pr 阅读全文
posted @ 2016-01-30 10:45
phlsheji
阅读(180)
评论(0)
推荐(0)
摘要:
OGNL:Object-Graph Navigation Language.对象图形化导航语言 OGNL是集成进struts2框架中比較强大的技术有助于传输数据和类型转换,OGNL由表达式语言和类型装换器组成。 表达式语言: 我们已经在jsp表单input名和jsp标签使用该语言了.他用来绑定jav 阅读全文
posted @ 2016-01-30 09:42
phlsheji
阅读(226)
评论(0)
推荐(0)
摘要:
工作中常常须要统计server上的rtp包接收、发送性能。不想自己再做一套统计软件,打算用现有的wireshark来做分析统计。 先把rtp头存成pcap格式文件,pcap文件格式及如何存储能够參照这篇文章http://blog.csdn.net/force_eagle/article/detail 阅读全文
posted @ 2016-01-30 08:49
phlsheji
阅读(1019)
评论(0)
推荐(0)
浙公网安备 33010602011771号