码迷,mamicode.com
首页 > 其他好文
【HDU1162】Eddy's picture(MST基础题)
很基础的点坐标MST,一不留神就AC了, - - !! 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 11 #define t...
分类:其他好文   时间:2014-07-25 02:32:14    阅读次数:318
SharePoint 2013 Designer系列之自定义列表表单
在SharePoint的使用中,默认的样式过于单调经常困扰着我们,其实,SharePoint使用Designer工具,可以很轻松解决这一问题,制作出各式各样漂亮的页面。下面,让我们简单介绍下这一过程。 1、首先创建一个测试列表,里面的字段如下: 2、看一眼默认的Dispform.aspx页面...
分类:其他好文   时间:2014-07-25 02:31:54    阅读次数:324
Poj 3517 And Then There Was One(约瑟夫环变形)
简单说一下约瑟夫环:约瑟夫环是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。想要求出最后剩下的那个人的在初始的时候的编号的...
分类:其他好文   时间:2014-07-25 02:31:44    阅读次数:175
POJ 1556
枚举每两点的直线,看连线中是否存在线段交点,若存在,即这两点的直线不存在。建图,DIJK就可以了。 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 cons...
分类:其他好文   时间:2014-07-25 02:31:24    阅读次数:224
【leetcode刷题笔记】Substring with Concatenation of All Words
You are given a string,S, and a list of words,L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenati...
分类:其他好文   时间:2014-07-25 02:31:14    阅读次数:210
stl分析之allocator
allocator封装了stl标准程序库的内存管理系统,标准库的string,容器,算法和部分iostream都是通过allocator分配和释放内存的。标准库的组件有一个参数指定使用的allocator类,比如vector的原型是:template >class vector : protecte...
分类:其他好文   时间:2014-07-25 02:31:04    阅读次数:201
用core dump来调试程序段错误
有的程序可以通过编译, 但在运行时会出现Segment fault(段错误). 这通常都是指针错误引起的.但这不像编译错误一样会提示到文件->行, 而是没有任何信息, 使得我们的调试变得困难起来.1.在一般Linux系统中,默认是不会产生core dump文件的。通过ulimit -c来查看core...
分类:其他好文   时间:2014-07-25 02:30:34    阅读次数:237
【九天教您南方cass 9.1】01 安装Cad和Cass9.1
同学们大家好,欢迎收看由老王测量上班记出品的cass9.1视频课程今后会将cass的教程目录定期发布在测量空间中。我是本节课主讲老师九天。九天老师的联系方式点击直接请教九天老师吧!【九天教您南方cass 9.1】01 安装Cad和Cass9.1首先要讲的是Cad和Cass的那点事儿1, 正确安装Ca...
分类:其他好文   时间:2014-07-25 02:30:24    阅读次数:250
UITextView详解
self.textView = [[[UITextView alloc] initWithFrame:self.view.frame] autorelease];//初始化大小并自动释放self.textView.textColor = [UIColor blackColor];//设置textvi...
分类:其他好文   时间:2014-07-25 02:30:04    阅读次数:267
Container容器控件的使用、Hbox与Vbox布局管理器的使用、以及AjaxAction前后台事件响应、浏览器debug
1.由于有前后台交互功能,需要在Spring上下文中注册一个用于提供服务的bean,对于这个bean使用Spring提供的@Component标注,如果需要使用@Component注解,需要在项目中WebContent->WEB-INF->dorado-home目录下的app-context.xml...
分类:其他好文   时间:2014-07-25 02:29:54    阅读次数:737
20140724
1、菜单制作:制表位(段落->制表位->) 叶轩楠·········· 上海大学 轩楠叶·········· 上海大学 楠轩叶·········· 上海大学 选完后要选“设置” 2、光盘制作的左对齐,斜体,每篇文章之间的间隙。 3、word中的的三种缩进 从上到下分别是首行缩进、悬挂缩进
分类:其他好文   时间:2014-07-25 02:28:44    阅读次数:265
makefile编写---:= ?= += =的区别
在Makefile中我们经常看到 = := ?= +=这几个赋值运算符,那么他们有什么区别呢?我们来做个简单的实验新建一个Makefile,内容为:ifdef DEFINE_VRE VRE = “Hello World!”elseendififeq ($(OPT),define) VRE ?= “H...
分类:其他好文   时间:2014-07-25 02:27:34    阅读次数:172
最大连续乘积子串
1 /* 2 A="2,9,-1,3,7,0,8,9,-3",求最大连续乘积子串,有三种方法,方法一:采用动态规划方法,最容易理解,也最容易实现,方法二:同样采用动态规划的 3 思路,但是不用保存两个数组空间。方法三:采用记录最大值,最小值的方法 4 */ 5 6 /* 7 动态规划方法,,两个.....
分类:其他好文   时间:2014-07-25 02:27:04    阅读次数:256
R语言学习笔记
參考:W.N. Venables, D.M. Smith and the R DCT: Introduction to R -- Notes on R: A Programming Environment for Data Analysis andGraphics,2003. http://baye...
分类:其他好文   时间:2014-07-25 02:26:54    阅读次数:319
[leetcode]Length of Last Word
Length of Last WordGiven a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.I...
分类:其他好文   时间:2014-07-25 02:26:04    阅读次数:322
Retrieving data from a server
A system includes a server and a controller embedded in a device. Both the server and the embedded controller are capable of communicating over a comp...
分类:其他好文   时间:2014-07-25 02:25:54    阅读次数:321
[leetcode]Simplify Path
Simplify PathGiven an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", =>"/c"click to sh...
分类:其他好文   时间:2014-07-25 02:25:34    阅读次数:247
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!