码迷,mamicode.com
首页 >  
搜索关键字:long position    ( 28572个结果
微软职位内部推荐-Senior Android Developer
微软近期Open的职位:Position: Senior SDE-- Mobile Products Android /iOS/WP Senior DeveloperContact Person: Winnie Wei (wiwe@microsoft.com)Location: BeijingRol...
分类:移动开发   时间:2014-07-07 16:15:11    阅读次数:267
HashSet中实现不插入重复的元素
/*看一下部分的HashSet源码....public class HashSet extends AbstractSet implements Set, Cloneable, java.io.Serializable{ static final long serialVersio...
分类:其他好文   时间:2014-07-07 15:23:29    阅读次数:253
可空值类型与值类型这间的转换
int s = 5;int? s_null;long t;long? t_null;t = s; //隐式转换 S -> Ts = (int)t; //显示转换 T -> Ss_null = s; //隐式转换 S -> S?s = (int)s_null; //显示转换 S? -> Tt_null...
分类:其他好文   时间:2014-07-02 00:29:58    阅读次数:287
微软职位内部推荐-Android Developer
微软近期Open的职位:Position: SDE II or Senior SDE -- Mobile Products Android/WPContact Person: Winnie Wei (wiwe@microsoft.com)Location: BeijingRoles & Respon...
分类:移动开发   时间:2014-06-30 23:57:40    阅读次数:471
HDU 4499 Cannon (暴力搜索)
题意:在n*m的方格里有t个棋子,问最多能放多少个炮且每个炮不能互相攻击(炮吃炮) 炮吃炮:在同一行或同一列且中间有一颗棋子。 #include #include #include #include #include #include #define M 50 #define LL long long using namespa...
分类:其他好文   时间:2014-06-30 19:31:26    阅读次数:211
C++11的thread代码分析
本文分析的是llvm libc++的实现:http://libcxx.llvm.org/ class thread thread类直接包装了一个pthread_t,在linux下实际是unsigned long int。 class thread { pthread_t __t_; id get_id() const _NOEXCEPT {return __t_;} } ...
分类:编程语言   时间:2014-06-30 19:29:24    阅读次数:257
zclip 复制内容到剪切板
直接上代码 ZeroClipboard Test .line { margin-bottom: 20px; } /* 复制提示 */ .copy-tips { position: fixed; z-index: 9999; bottom: 50%; left: 50%; margin: 0 0 -20px -80px; background-color: rgba(0,...
分类:其他好文   时间:2014-06-30 17:42:43    阅读次数:318
HDU 4597 Play Game (记忆化搜索)
题意:有两堆n张的卡片,每张卡片有一个得分,Alice和Bob轮流在两堆卡片的两端取卡片 问Alice先手,取得分数最多为多少; #include #include #include #include #include #include #define M 50 #define LL long long using namespace ...
分类:其他好文   时间:2014-06-30 17:39:36    阅读次数:258
POJ_2299 Ultra-QuickSort【归并排序】
题目链接:http://poj.org/problem?id=2299 题目大意:求出排序过程中的最小交换次数 利用归并排序的分治算法解决此题。 代码: #include #include #include #define N 500001 using namespace std; int a[N]; int temp[N]; long long ans; void merge(in...
分类:其他好文   时间:2014-06-30 08:18:11    阅读次数:230
java中整数类型的2进制表示
java中的4种整数类型:byte,short,int,long均采用补码表示。 如下图右边所示 在java中对二进制数没有“字面”表示方法。十六进制可以用OX或者Ox指示,八进制可以用O指示。 下面的代码可以输出byte类型的数据的2进制表示形式: public class Test { public static void main(String[] args...
分类:编程语言   时间:2014-06-29 23:24:27    阅读次数:288
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!