码迷,mamicode.com
首页 >  
搜索关键字:structure    ( 2775个结果
LRU Cache leetcode java
题目:Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.get(key) - Get ....
分类:编程语言   时间:2014-07-26 09:53:37    阅读次数:402
UVA 11995 - I Can Guess the Data Structure! (基本数据结构)
UVA 11995 - I Can Guess the Data Structure! 题目链接 题意:给定一堆的操作,问这个数据结构是什么 思路:水题,稍微模拟一下就可以了 代码: #include #include #include #include using namespace std; const int N = 1005; int n, q[N...
分类:其他好文   时间:2014-07-26 02:39:56    阅读次数:241
hdu 4217Data Structure?
树状数组+二分 就是找第几小的数,,找几次,再求和。。 #include #include #include #include #include using namespace std; const int N=277777; int t,n,m,bit[N],num,i; long long ans; int low(int g) { return g&(-g); } void up...
分类:其他好文   时间:2014-07-24 23:29:33    阅读次数:266
C语言的算法
什么是算法|算法的概念 一个程序应包括:对数据的描述:在程序中要指定数据的类型和数据的组织形式,即数据结构(data structure)。对操作的描述:即操作步骤,也就是算法(algorithm)。 Nikiklaus Wirth提出的公式:程序=数据结构+算法 这三个方面是一个程序涉及人员所应....
分类:编程语言   时间:2014-07-24 22:58:53    阅读次数:200
LifeType 1.2.12 运行报错
Fatal error: Call to undefined function bb2_table_structure() inH:\wamp2\www\lifetype-1.2.121\plugins\badbehavior\index.inc.phpon line174H:\wamp2\www\...
分类:其他好文   时间:2014-07-24 17:26:59    阅读次数:196
04 memory structure
本章提要--------------------------------------------------SGA: System Global Area ( 包括background process)PGA: Process Global Area 进程或线程专用内存UGA: User Globa...
分类:其他好文   时间:2014-07-23 20:35:45    阅读次数:235
ACM1598并查集方法
find the most comfortable roadProblem DescriptionXX星有许多城市,城市之间通过一种奇怪的高速公路SARS(Super Air Roam Structure---超级空中漫游结构)进行交流,每条SARS都对行驶在上面的Flycar限制了固定的Speed...
分类:其他好文   时间:2014-07-23 11:35:26    阅读次数:227
关于内存对齐的那些事
Wrote by mutouyun. (http://darkc.at/about-data-structure-alignment/) 1. 内存对齐(Data Structure Alignment)是什么 内存对齐,或者说字节对齐,是一个数据类型所能存放的内存地址的属性(Alignment is a property of a memory address)。 这个属性...
分类:其他好文   时间:2014-07-22 23:52:08    阅读次数:487
rails excel的创建
Example of how to add tables to an XlsxWriter worksheet.Tables in Excel are used to group rows and columns of data into a single structure that can be...
分类:其他好文   时间:2014-07-22 22:52:12    阅读次数:249
平时的笔记02:硬件信息
#-*-coding:utf-8-*-fromctypesimport*importtimeclassMEMORYSTATUS(Structure):while1:_fields_=[('dwLength',c_int),('dwMemoryLoad',c_int),('dwTotalPhys',c...
分类:其他好文   时间:2014-07-22 22:36:36    阅读次数:219
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!