。。。一开始傻傻暴力的。。后来才知道是树状数组求逆序数。。还是先看清楚数据量啊!#include#include#include#include#include#include#include#include#include#include#include#include#include#inclu...
分类:
其他 时间:
2015-03-11 14:22:15
收藏:
0 评论:
0 赞:
0 阅读:
342
将硬盘挂载到指定目录,如/data在hdfs-site.xml中修改 dfs.datanode.data.dir file://${hadoop.tmp.dir}/dfs/data,/data Determines where on the local filesystem an DFS data ...
分类:
其他 时间:
2015-03-11 14:22:05
收藏:
0 评论:
0 赞:
0 阅读:
270
VLC的引用了很多开源的第三方库,均放到VLC目录下的contrib中(本来开始编译是2.1.x以上版本,以前或以后可能会变化),在Windows版本编译中,contrib文件夹中仅仅下载VLC官网上已经编译好的预编译包后解压到该目录下,要修改编译脚本(compile.sh和 contrib/src...
分类:
其他 时间:
2015-03-11 14:21:56
收藏:
0 评论:
0 赞:
0 阅读:
1275
显示回收站.regWindows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]"{20...
分类:
其他 时间:
2015-03-11 14:20:55
收藏:
0 评论:
0 赞:
0 阅读:
308
下面是本人画的一张关于数据页和索引存储结构图此图中,最上部分是数据页的存储结构。下半部分是表中有索引,这里就出现了B-Tree结构,索引的根级会引用索引的下一级,直到索引的最后一级,这一级引用的对象是RID(当表中不存在聚集索引时,RID会指向每一行数据存储位置,RID的字段长度为16字节)或聚集索...
分类:
其他 时间:
2015-03-11 14:19:35
收藏:
0 评论:
0 赞:
0 阅读:
205
本文改编于http://www.cnblogs.com/PegasusWang/archive/2013/01/20/2868824.html把里面的演示代码修改了一下,可以直接复制运行通过。环境DEV-C++1. void *memset(void *s,int c,size_t n)总的作用:将...
分类:
其他 时间:
2015-03-11 14:19:15
收藏:
0 评论:
0 赞:
0 阅读:
232
#include using namespace std; class CMyInt{private: int value;public: CMyInt(int x):value(x){} CMyInt():value(0){} //++i CMyInt & ope...
分类:
其他 时间:
2015-03-11 14:18:45
收藏:
0 评论:
0 赞:
0 阅读:
231
《添加eventlog服务.reg》Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog]"Description"="启用在事件查看器查看基于 Windo...
分类:
其他 时间:
2015-03-11 14:18:35
收藏:
0 评论:
0 赞:
0 阅读:
521
步骤创建服务应用程序创建基于状态机的工作流设置变量定义流程增加消息处理活动调试客户端调用源码下载创建服务应用程序源码:WorkflowService1.zip
分类:
其他 时间:
2015-03-11 14:17:55
收藏:
0 评论:
0 赞:
0 阅读:
182
No architectures to compile for(ONLY_ACTIVE_ARCH=YES 这种错误 修改building settings下 Build Active Architecture only 为NO即可。dyld: Symbol not found: _objc_setP...
分类:
其他 时间:
2015-03-11 14:17:35
收藏:
0 评论:
0 赞:
0 阅读:
1380
在batch脚本中我们可以通过下面的语句来对日期进行操作: SET YEAR=%date:~10,4%
SET MONTH=%date:~4,2%
SET DAY=%date:~7,2%
SET HOUR=%time:~0,2%
IF "%HOUR:~0,1%"==" " SET HOUR=0%HO...
分类:
其他 时间:
2015-03-11 14:16:45
收藏:
0 评论:
0 赞:
1 阅读:
2926
cocos2dx 3.x最初设置screenSize和designResolutionSize的地方如下:bool AppDelegate::applicationDidFinishLaunching() { // initialize director auto director = Dire.....
分类:
其他 时间:
2015-03-11 14:15:45
收藏:
0 评论:
0 赞:
1 阅读:
1835
adb -d shell monkey -s 5 -p com.xxx.xx --throttle 500 --pct-touch 15 --pct-motion 10 --pct-trackball 15 --pct-nav 25 --pct-majornav 15 --pct-appswitch 2 --pct-anyevent 16 --monitor-native-crashes -...
分类:
其他 时间:
2015-03-11 13:10:25
收藏:
0 评论:
0 赞:
0 阅读:
313
一、配置pods环境 ????按照下面的顺序在终端中敲入依次敲入命令: ? ? 1、 gem?sources?--remove?https://rubygems.org/ ????2、 gem?sources?-a?http://ruby.taobao.org/ ????PS:这么做的目...
分类:
其他 时间:
2015-03-11 13:10:16
收藏:
0 评论:
0 赞:
0 阅读:
271
百度短网址服务api文档 ????????????????????????????????String shareUrl =?"http://www.baidu.com/"; RestTemplate template = new RestTemplate(); //百度短地址服务...
分类:
其他 时间:
2015-03-11 13:10:05
收藏:
0 评论:
0 赞:
0 阅读:
216
安装过程中报错:The openssl extension is missing, which means that secure HTTPS transfers are impossible. If possible you should enable it or recompile php with --with-openssl 解决方法:找到path ph...
分类:
其他 时间:
2015-03-11 13:09:15
收藏:
0 评论:
0 赞:
0 阅读:
392
Gatling是一款基于Scala 开发的高性能服务器性能测试工具,它主要用于对服务器进行负载等测试,并分析和测量服务器的各种性能指标。Gatling主要用于测量基于HTTP的服务器,比如Web应用程序,RESTful服务等,除此之...
分类:
其他 时间:
2015-03-11 13:08:56
收藏:
0 评论:
0 赞:
0 阅读:
217
Pull to Refresh 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10
分类:
其他 时间:
2015-03-11 13:08:25
收藏:
0 评论:
0 赞:
0 阅读:
263
作为一个命令行探索者,你或许发现你自己一遍又一遍重复同样的命令。如果你总是用ssh进入到同一台电脑,如果你总是将一连串命令连接起来,如果你总是用同样的参数运行一个程序,你也许希望在这种不断的重复中为你...
分类:
其他 时间:
2015-03-11 13:08:16
收藏:
0 评论:
0 赞:
0 阅读:
196
IE通过一个URL连接web服务器;如:http://www.baidu.com/app/servlet1 IE向服务器发送HTTP请求; web服务器解析出IE要访问的主机名www.baidu.com(先查找本机C:\Windows\System32\drivers\etc目录下的hosts文件中,...
分类:
其他 时间:
2015-03-11 13:07:25
收藏:
0 评论:
0 赞:
0 阅读:
220