码迷,mamicode.com
首页 > 其他好文
抽象工程模式
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace KFCandM{ class Program ...
分类:其他好文   时间:2016-01-03 21:00:30    阅读次数:180
LeetCode :: Convert Sorted Array (link list) to Binary Search Tree [tree]
1.Given an array where elements are sorted in ascending order, convert it to a height balanced BST.2.Given a singly linked list where elements are sor...
分类:其他好文   时间:2016-01-03 20:58:24    阅读次数:106
实验四 主存空间的分配和回收模拟
实验四、主存空间的分配和回收模拟物联网工程 陈梓帆 201306104108一、实验目的为了合理地分配和使用这些存储空间,当用户提出申请主存储器空间时,存储管理必须根据申请者的要求,按一定的策略分析主存空间和使用情况,找出足够的空闲区域给申请者。当作业撤离归还主存资源时,则存储管理要收回占用的主存....
分类:其他好文   时间:2016-01-03 20:59:47    阅读次数:241
paper reading in 1/1/2016~1/3/2016
CVPR15:Person Count Localization in Videos from Noisy Foreground and Detections paper主要的contribution是定义了person count localization及其周边,不过虽然之前提过的person....
分类:其他好文   时间:2016-01-03 20:57:24    阅读次数:130
建造者模式
相关代码 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespa...
分类:其他好文   时间:2016-01-03 20:59:05    阅读次数:160
软件工程第二章 习题2 第5题
电话号码=[校内电话号码|校外电话号码]校内电话号码=非零数字+3位数字校外电话号码=[本市号码|外地号码]本市号码=数字零+8位数字外地号码=数字零+3位数字+8位数字非零数字=[1|2|3|4|5|6|7|8|9]数字零=03位数字=3{数字}38位数字=非零数字+7位数字7位数字=7{数字}....
分类:其他好文   时间:2016-01-03 20:58:00    阅读次数:116
bzoj1597:dp+斜率优化
日。。。。 一开始没有把他倒过来然后一直乱一直乱,没办法了就重新写,并且把他倒过来,然后就和做过的差不多了。。。----------------------------------------------------------------------------------------#inclu...
分类:其他好文   时间:2016-01-03 20:58:29    阅读次数:144
编译ros程序包--4
编译程序包(原创博文,转载请标明出处--周学伟)1.编译程序包:一旦安装了所需的系统依赖项,我们就可以开始编译刚才创建的程序包了。 注意: 如果你是通过apt或者其它软件包管理工具来安装ROS的,那么系统已经默认安装好所有依赖项。记得事先source你的环境配置(setup)文件,在Ubuntu中的...
分类:其他好文   时间:2016-01-03 20:55:18    阅读次数:564
装饰者模式
MobilePhone(抽象手机类) abstract class Mobilephone { public string name; public abstract void SendMessage(); public abstract voi...
分类:其他好文   时间:2016-01-03 20:57:04    阅读次数:138
COS-8文件系统
操作系统(Operating System,简称OS)是管理和控制计算机硬件与软件资源的计算机程序,是直接运行在“裸机”上的最基本的系统软件,任何其他软件都必须在操作系统的支持下才能运行。操作系统是用户和计算机的接口,同时也是计算机硬件和其他软件的接口。操作系统的功能包括管理计算机系统的硬件、软件及...
分类:其他好文   时间:2016-01-03 20:53:57    阅读次数:191
类的反射 typeof 或GetType
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Reflection;namespace Conso...
分类:其他好文   时间:2016-01-03 20:53:39    阅读次数:138
堆栈空间分配
堆栈空间分配栈(操作系统):由操作系统自动分配释放 ,存放函数的参数值,局部变量的值等。其操作方式类似于数据结构中的栈。堆(操作系统): 一般由程序员分配释放, 若程序员不释放,程序结束时可能由OS回收,分配方式倒是类似于链表。堆栈缓存方式栈使用的是一级缓存, 他们通常都是被调用时处于存储空间中,调...
分类:其他好文   时间:2016-01-03 20:54:18    阅读次数:268
Valid Palindrome leetcode
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Pana...
分类:其他好文   时间:2016-01-03 20:54:02    阅读次数:149
在不同版本号hdfs集群之间转移数据
在不同版本号hdfs集群之间转移数据 最简单的办法就是把src集群的数据导到本地,然后起还有一个进程将本地数据传到des集群上去。 只是这有几个问题:效率减少占用本地磁盘空间不能应付实时导数据需求 两个进程须要协调,复杂度添加 更好的办法是在同一个进程内一边读src数据,一边写des集群。只是这.....
分类:其他好文   时间:2016-01-03 20:51:24    阅读次数:170
UVA-548Tree(二叉树的递归遍历)
TreeTime Limit:3000MSMemory Limit:Unknown64bit IO Format:%lld & %lluSubmitStatusDescriptionYou are to determine the value of the leaf node in a given ...
分类:其他好文   时间:2016-01-03 20:53:10    阅读次数:223
leetcode@ [34] Search for a Range (STL Binary Search)
https://leetcode.com/problems/search-for-a-range/Given a sorted array of integers, find the starting and ending position of a given target value.Your ...
分类:其他好文   时间:2016-01-03 20:49:48    阅读次数:116
uva 11988 - Broken Keyboard (a.k.a. Beiju Text)
题意:有一个键盘坏了 会在你不知道的情况下按下home或者end 给你这个键盘的实际输入 要求输出显示器上的实际显示解析:输入最大5MB 直接数组检索肯定会超时,用数组模拟链表 next数组表示显示屏中s[i]右边的字符编号,变量cur模拟光标,即当前光标位于s[cur]的右边。 变量l...
分类:其他好文   时间:2016-01-03 20:50:38    阅读次数:218
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!