// CommonInject.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
#include
#include
#include
#include
using namespace std;
#include
#pragma comment(li...
分类:
编程语言 时间:
2014-06-20 13:09:49
阅读次数:
306
一不小心又开启了每天昏迷24个小时的状态,脑子不清醒的时候就该去看动画片。
只需要记录光标的位置即可,剩下的就是Splay的经典操作了,不多说了,我只是为了测试模板。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#pragma comment(linke...
分类:
其他好文 时间:
2014-06-20 09:45:12
阅读次数:
201
常规方式 随便百度个
类比http://blog.sina.com.cn/s/blog_4080505a0101guoh.html这里主要介绍配好后,导出,xml,迁移环境时
导入comment 和code同时选中 ,导出用export ,导入用import我自己用的:codetemplates.x...
分类:
编程语言 时间:
2014-06-06 09:46:40
阅读次数:
378
Sublime Text 2 一些设置January 10th, 2013731viewsPosted
in软件Write comment个人的关于Sublime Text
2的一些设置和插件。关于安装:程序主页:https://sublimetext.com/Windows7/8下安装版的配置文件...
分类:
编程语言 时间:
2014-06-05 21:30:48
阅读次数:
452
注释/* This is a comment *//* and so … … *///
This is a different sort of comment./// #region #endregion简单类型整数类型sbyte
System.Sbyte -2^7 - 2^7-1byte Syst...
分类:
其他好文 时间:
2014-06-04 15:38:11
阅读次数:
305
以前用树状数组做过一次,现在用线段树再刷一次。。。
首先必须先离散化。。。
然后建立2颗线段树,第一颗表示往左走,每个节点的值的分布。
第二颗表示往右走,每个节点的值的分布。
然后根据左右走的关系,判断出x,y的值。
#pragma comment(linker, "/STACK:1024000000,1024000000")
#include
#include
#inclu...
分类:
其他好文 时间:
2014-06-03 01:25:54
阅读次数:
315
从一开始学离散化就对它没有半毛钱好感,感觉出这种题纯属恶心人。
可以将Top x全部取出来然后离散化,缩点。剩下的就是伸展了,不再赘述。
也有人拿线段树过,一直没有想明白. . .
#include
#include
#include
#include
#include
#include
#include
#include
#include
#pragma comment...
分类:
其他好文 时间:
2014-06-02 23:24:50
阅读次数:
338
// SelectCli.cpp : 定义控制台应用程序的入口点。//#include
"stdafx.h"#include #include #pragma comment(lib,"ws2_32")#define
SOCKET_MAXCNT 64#define THREAD_NUM 2 //.....
之前文章的改进版服务器仅仅接受客户端发送的字符串并显示客户端可以调节发送数目 但是不能超过64//
SelectServer.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include #include #pragma
comment(lib,"ws2_32"...