List ss = new List(); ss.Add(1); ss.Add(1);
ss.Add(2); ss.Add(2); ss.Add(3); ss.Add(3); List ss1= ss.Distinct().ToList();
//ss1里只有1,2,3
分类:
其他 时间:
2014-02-09 23:58:50
收藏:
0 评论:
0 赞:
0 阅读:
591
1.Custom message when asking for Address Book
Permissionshttp://kevinyavno.com/blog/?p=176
分类:
其他 时间:
2014-02-09 23:58:00
收藏:
0 评论:
0 赞:
0 阅读:
527
题目#define
_CRT_SECURE_NO_WARNINGS#include#include#includeconst int MAXN=1010; #define
typec int const typec INF=0x3f3f3f3f;//防止后面溢出,这个不能太大 bool vis[MA...
分类:
其他 时间:
2014-02-09 23:53:00
收藏:
0 评论:
0 赞:
0 阅读:
588
浅复制
值类型的复制没有浅复制或深复制之说。浅(深)复制针对的是引用类型。比如数组Array的Clone()就是浅复制,对于值类型数组,克隆方法会产生两个独立的数组,克隆引用类型数组会产生指向相同对象的两个数组。
举例,数组的Clone()方法,返回object类型的引用,它必须被强制转换成数组类型...
分类:
其他 时间:
2014-02-09 23:52:10
收藏:
0 评论:
0 赞:
0 阅读:
588
http://www.dewen.org/q/971
分类:
其他 时间:
2014-02-09 23:51:20
收藏:
0 评论:
0 赞:
0 阅读:
578
什么是dpi------屏幕大小----->斜对角:勾股定理什么是dpDevice
Independent pixels与像素无关什么是sp----->根OS
字体大小有关系---------------------------------
分类:
其他 时间:
2014-02-09 23:48:50
收藏:
0 评论:
0 赞:
0 阅读:
662
go语言中的container有heap、list、ring,没有stack。其中heap是优先级队列,虽然有Push()/Pop()接口,但是使用heap要实现heap.Interface接口,不够简洁。所以这里用list封装了一个简单的stack,留作他用。
1 package stack 2 ...
分类:
其他 时间:
2014-02-09 23:48:00
收藏:
0 评论:
0 赞:
0 阅读:
598
以n=10的一个数组49, 38, 65, 97, 26, 13, 27, 49, 55,
4为例第一次gap = 10 / 2 = 549 38 65 97 26 13 27 49 55 41A1B2A2B3A3B4A4B5A5B
分类:
其他 时间:
2014-02-09 23:46:20
收藏:
0 评论:
0 赞:
0 阅读:
587
下表显示了常见的HTTP 1.1状态代码以及它们对应的状态信息和含义。应当谨慎地使用那些只有HTTP
1.1支持的状态代码,因为许多浏览器还只能够支持HTTP 1.0。如果你使用了HTTP
1.1特有的状态代码,最好能够检查一下请求的HTTP版本号。状态代码状态信息含义100Continue初始的请...
分类:
其他 时间:
2014-02-09 23:40:30
收藏:
0 评论:
0 赞:
0 阅读:
1142
http://blog.csdn.net/chen_jp/article/details/7924809
分类:
其他 时间:
2014-02-09 23:39:40
收藏:
0 评论:
0 赞:
0 阅读:
504
Jordan Lecture Note-1: Introduction
第一部分要整理的是Jordan的讲义,这份讲义是我刚进实验室时我们老师给我的第一个任务,要求我把讲义上的知识扩充出去,然后每周都要讲给他听。如果有需要这份讲义的话,请留言,我会用邮件发给你。
首先,我来说说机器学习这个东西。刚进...
分类:
其他 时间:
2014-02-09 23:37:10
收藏:
0 评论:
0 赞:
0 阅读:
330
一些前端开发 IE 中的常用调试工具:Microsoft Script Debugger ——
Companion.JS need to install thisCompanion.JS —— Javascript debugger for IE ,
like Console API feature...
分类:
其他 时间:
2014-02-09 23:24:40
收藏:
0 评论:
0 赞:
0 阅读:
385
学习网站http://www.jb51.net/tools/zhengze.html在线测试工具http://tool.chinaz.com/regex/\bHello\b\s\bWorld\b代码说明.匹配除换行符以外的任意字符\w匹配字母或数字或下划线或汉字\s匹配任意的空白符\d匹配数字\b匹...
分类:
其他 时间:
2014-02-09 23:20:30
收藏:
0 评论:
0 赞:
0 阅读:
465
http://www.iteye.com/topic/1124582
分类:
其他 时间:
2014-02-09 23:18:50
收藏:
0 评论:
0 赞:
0 阅读:
307
linecount = fileContent.match(/\n/g).length + 1;
分类:
其他 时间:
2014-02-09 23:18:00
收藏:
0 评论:
0 赞:
0 阅读:
318
一。Foreman环境:
foreman建好后,系统默认创建了3个环境:production,development,common, 1.production:
在puppet.conf里已经定义其调用的路径,是foreman默认使用的环境,通过foreman-proxy验证后的cliente均默认...
分类:
其他 时间:
2014-02-09 23:17:10
收藏:
0 评论:
0 赞:
0 阅读:
492
DescriptionBeads of red, blue or green colors are
connected together into a circular necklace of n beads ( n 2 #include 3 #include
4 #include 5 using ...
分类:
其他 时间:
2014-02-09 23:15:30
收藏:
0 评论:
0 赞:
0 阅读:
435
Young Generation Collection Using the Serial
CollectorFigure 3 illustrates the operation of a young generation collection
using the serial collector. ...
分类:
其他 时间:
2014-02-09 23:14:40
收藏:
0 评论:
0 赞:
0 阅读:
497
比如interface IRepository where T:class { IEnumerable
FindAll(Func exp);
}我现在要调用FindAll方法,要怎么用?Funcexp1、Func是一个匿名委托(形参exp的类型)T是Func这个委托中的传入参数,即接口IReposi...
分类:
其他 时间:
2014-02-09 23:13:00
收藏:
0 评论:
0 赞:
0 阅读:
399
题目
Given a binary tree, return the postorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [3,2,1].
Note: Recursi...
分类:
其他 时间:
2014-02-09 23:30:30
收藏:
0 评论:
0 赞:
0 阅读:
405