首页 > 其他
正确解读free -m
如下显示free是显示的当前内存的使用,-m的意思是M字节来显示内容.我们来一起看看. 第一部分Mem行:total 内存总数: 1002Mused 已经使用的内存数: 769Mfree 空闲的内存数: 232Mshared 当前已经废弃不用,总是0buffers Buffer 缓存内存数: 62M ...
分类:其他   时间:2017-02-05 22:38:46    收藏:0  评论:0  赞:0  阅读:165
poj2442优先队列
感谢 http://hi.baidu.com/%C0%B6%C9%ABarch/blog/item/f9d343f49cd92e53d7887d73.html 的博主! 思路: 我们要找到n个smallest的数,用贪心法可以解决这一问题。 (1)维护两个数组,a和b,以及一个大根堆p 循环不变式:... ...
分类:其他   时间:2017-02-05 22:38:02    收藏:0  评论:0  赞:0  阅读:228
“volatile”这个关键字
我们经常使用“volatile”这个关键字,它是什么意思? 解析:volatile问题。当一个对象的值可能会在编译器的控制或监测之外被改变时,例如一个被系统时钟更新的变量,那么该对象应该声明成volatile。因此编译器执行的某些例行优化行为不能应用在已指定为volatile的对象上。volatil ...
分类:其他   时间:2017-02-05 22:37:48    收藏:0  评论:0  赞:0  阅读:258
使用 visualstudio code 编辑器调试执行在 homestead 环境中的 laravel 程序
通过 visualstudio 实现对基于 homestead 环境的 laravel 项目进行开发调试。本文重点讨论如何通过配置 visualstudio code、 homestead、Xdebug 以实现对 laravel 项目的调试,并不讨论涉本文中涉及到的其他软件的安装及部署细节。 ...
分类:其他   时间:2017-02-05 22:36:47    收藏:0  评论:0  赞:0  阅读:595
【转】BehaviorDesigner学习
BehaviorDesigner学习 行为树: 行为树设计师插件是一个专门为unity设计的AI插件。 通过继承Behavior中的Task下的四个节点,可以创建自己的行为树节点。 行为树中的自定义类型均为sharedType:SharedInt,Sharedfloat… 可使用BehaviorTr ...
分类:其他   时间:2017-02-05 22:35:59    收藏:0  评论:0  赞:0  阅读:274
深入理解无穷级数和的定义(the sum of the series)
Given an infinite sequence (a1, a2, a3, ...), a series is informally the form of adding all those terms together: a1 + a2 + a3 + ···. To emphasize tha... ...
分类:其他   时间:2017-02-05 22:35:45    收藏:0  评论:0  赞:0  阅读:258
HDU 2296 Ring [AC自动机 DP 打印方案]
Ring Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3536 Accepted Submission(s): 1153 Problem De ...
分类:其他   时间:2017-02-05 22:35:23    收藏:0  评论:0  赞:0  阅读:343
USACO 5.1 Starry Night
High up in the night sky, the shining stars appear in clusters of various shapes. A cluster is a non-empty group of neighbouring stars, adjacent in ho ...
分类:其他   时间:2017-02-05 22:34:48    收藏:0  评论:0  赞:0  阅读:323
_bzoj1087 [SCOI2005]互不侵犯King【dp】
传送门:http://www.lydsy.com/JudgeOnline/problem.php?id=1087 令f(i, j, k)表示前i列,二进制状态为j,已经用了k个国王的方案数,则 f(i, j, k) = sigma(i - 1, p, k - num[j]),其中可以从p状态转化到j ...
分类:其他   时间:2017-02-05 22:34:21    收藏:0  评论:0  赞:0  阅读:188
atof
atof 1. 函数名: atof 功 能: 把字符串转换成浮点数 名字来源:ascii to floating point numbers 的缩写 用 法: double atof(const char *nptr); atof 1. 函数名: atof 功 能: 把字符串转换成浮点数 名字来源: ...
分类:其他   时间:2017-02-05 22:33:30    收藏:0  评论:0  赞:0  阅读:150
Nexus1000v部署
部署升级管理器 http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus1000/sw/5_2_1_Sv_3_2_8/install_upgrade/guide/b_Cisco_N1KV_VMware_Install_and_Upg... ...
分类:其他   时间:2017-02-05 21:51:54    收藏:0  评论:0  赞:0  阅读:498
spark小例子
import org.apache.spark.SparkConf import org.apache.spark.SparkContext object MaxTemperaturer { def main(args: Array[String]): Unit = { var conf = new... ...
分类:其他   时间:2017-02-05 21:51:34    收藏:0  评论:0  赞:0  阅读:256
【2017-2-02-05】【抓包】鼠大侠鼠标连点器去广告
前言:鼠标连点器这款我经常用,然而有一段时间天天右下角给我弹广告,忍无可忍 结论:本来最佳化是汇编上干这软件,然后久没玩已经忘记咋玩了。233,那就换种思路,通过网络把广告ban掉。 hos里面添加三句: 过程: 微软的MicrosoftNetworkMonitor3.4真乃神器,win10下抓包想 ...
分类:其他   时间:2017-02-05 21:50:54    收藏:0  评论:0  赞:0  阅读:633
隐式类型转换
1.在c和c++中,顶层const在执行对象的拷贝操作时,不受什么影响;但底层const却不容忽视。顶层const表示指针本身是个常量,底层const表示指针所指的对象是一个常量;更一般的,顶层const可以表示任意对象是常量。eg: 1.1 常量整数0或者字面值nullptr能转换成任意指针类型; ...
分类:其他   时间:2017-02-05 21:50:26    收藏:0  评论:0  赞:0  阅读:203
重组公司
51Nod 1525 重组公司 题目来源: CodeForces 基准时间限制:1 秒 空间限制:131072 KB 分值: 80 难度:5级算法题 51Nod 1525 重组公司 题目来源: CodeForces 基准时间限制:1 秒 空间限制:131072 KB 分值: 80 难度:5级算法题 ...
分类:其他   时间:2017-02-05 21:49:41    收藏:0  评论:0  赞:0  阅读:242
Dynamic Rankings
The Company Dynamic Rankings has developed a new kind of computer that is no longer satisfied with the query like to simply find the k-th smallest num ...
分类:其他   时间:2017-02-05 21:49:20    收藏:0  评论:0  赞:0  阅读:233
cookie 与 session 的区别与联系
1,禁用cookie 后 seesion 还能用吗? cookie是保存在本地的,而seesion是保存在服务器上的。所以两者没有直接的关系,禁用cookie后seesion依然可以用。 session的运行依赖于session id,而session id是存在cookie中的。也即,如果客户端禁 ...
分类:其他   时间:2017-02-05 21:48:44    收藏:0  评论:0  赞:0  阅读:363
vsftpd配置文件丢失
deeplinux 卸载vsftpd重装,配置文件/etc/vsftpd.conf不能自动安装,解决办法如下: ...
分类:其他   时间:2017-02-05 21:48:33    收藏:0  评论:0  赞:0  阅读:298
采药 2005年NOIP全国联赛普及组&疯狂的采药
时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 时间限制: 1 s 空间限制: 128000 KB 题目等级 : 黄金 Gold 题目描述 Description 辰辰是个天资聪颖的孩 ...
分类:其他   时间:2017-02-05 21:47:34    收藏:0  评论:0  赞:0  阅读:185
String、StringBuffer与StringBuilder的区别
1.属性 String:字符串常量 StringBuffer:字符创变量 StringBuilder:字符创变量 从上面的名字可以看到,String是“字符创常量”,也就是不可改变的对象。 2.执行速度方面的比较: StringBuilder > StringBuffer > String 3. S ...
分类:其他   时间:2017-02-05 21:36:05    收藏:0  评论:0  赞:0  阅读:182
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!