program bzoj1023;uses math;const inf=1000000000; maxn=50005; maxm=20000005; type edge=record togo,next:longint;end; var n,m,cnt,ind,ans...
分类:
其他好文 时间:
2014-10-27 19:16:23
阅读次数:
203
program bzoj1015;{$inline on}const maxn=400001;type node=record togo,next:longint;end;var tot,n,m,d,cnt:longint; father,head,q,ans:array [0..max...
分类:
其他好文 时间:
2014-10-27 19:06:29
阅读次数:
162
program bzoj1828;const maxn=100001; check=10000000; type node=record l,r,s,a:longint;end;var t:array [0..maxn*5] of node; a,b,c:array [0.....
分类:
其他好文 时间:
2014-10-27 18:58:21
阅读次数:
233
解决方案1:
type?point?=?^node;
?node?=?record
?i:longint;
?n:point;
?end;
var?i,j,k,n,m,a,b,top:longint;
?map:array[1..10000]of?point;
?ans:array[1..10000]of?longint;
?stack,i...
分类:
编程语言 时间:
2014-10-27 15:52:51
阅读次数:
148
C++ 结构体数组的使用
以下代码可以在Windows的VC6,VC2008等上直接使用,也可以在MAC XCODE里面使用
第一步:定义一个结构体
注意:不要用char *类型,用容易操作的string
// Group
typedef struct GROUP_RECORD
{
std::string grou...
分类:
编程语言 时间:
2014-10-27 12:54:32
阅读次数:
190
最近xcode更新频繁,没有删除,偷懒就共存了两版本,删除了一下,导致git用不了~ xcrun: error: active developer path ("/Applications/Xcode 2.app/Contents/Developer") does not exist, use `xcode-select --...
分类:
其他好文 时间:
2014-10-26 21:25:44
阅读次数:
212
unit?uGetTickCount64;
interface
uses?windows;
?function?_GetTickCount64():?Int64;
implementation
type
????LARGE_INTEGER?=?record
??????lowpart??:integer?;
??????highpart?...
分类:
其他好文 时间:
2014-10-26 17:08:25
阅读次数:
407
Active Record(活动记录,以下简称AR)提供了一个面向对象的接口,用以访问数据库中的数据...
分类:
数据库 时间:
2014-10-26 15:39:54
阅读次数:
215
Post Date: September 3, 2014By: Stephanie MillerMarty Rose, Data Scientist in theAcxiomProduct and Engineering group, and an active member of the DMA ...
分类:
其他好文 时间:
2014-10-26 11:37:54
阅读次数:
260
之前写了一篇原始dll的创建过程,以及直接使用LoadLibrary加载动态库。
但ATL所做的一个很重要的功能就是引入COM对象这个概念。
首先, ATL active template library为活动模板库,ATL为asp代码中提供COM对象应用。而一般使用活动模版库来创建COM组件。简单来说ATL一般作为方便快捷的COM开发工具使用。而ATL中使用的基本技术为 COM技术,C++模...
分类:
其他好文 时间:
2014-10-26 01:41:38
阅读次数:
253