码迷,mamicode.com
首页 >  
搜索关键字:long live the queen    ( 22219个结果
[分享]Ubuntu12.04安装基础教程(图文)
[分享]Ubuntu12.04安装基础教程(图文)原文地址:http://teliute.org/linux/Ubsetup/lesson21/lesson21.html 1、进入 live cd 桌面 1)设置好启动后,断开网络,然后重新启动动计算机,能够用硬盘启动,也能够刻成光盘启动,镜像的下载...
分类:其他好文   时间:2014-06-28 17:31:20    阅读次数:152
【USACO 2.2.2】集合
【题目描述】对于从1到N (1 2 #include 3 #include 4 #include 5 #include 6 const int Max=1000000; 7 using namespace std; 8 long long cnt[Max],n; 9 int main()1...
分类:其他好文   时间:2014-06-28 16:48:53    阅读次数:148
hust 1524 Wedding
题目描述Up to thirty couples will attend a wedding feast, at which they will be seated on either side of a long table. The bride and groom sit at one end,...
分类:其他好文   时间:2014-06-24 09:49:19    阅读次数:225
Oracle数据库中的blob类型解析
Oracle的Blob字段比较特殊,他比long字段的性能要好很多,可以用来保存例如图片之类的二进制数据。写入Blob字段和写入其它类型字段的方式非常不同,因为Blob自身有一个cursor,你必须使用cursor对blob进行操作,因而你在写入Blob之前,必须获得cursor才能进行写入,那么如...
分类:数据库   时间:2014-06-24 09:11:02    阅读次数:333
Leetcode: Divide Two Integers
Divide two integers without using multiplication, division and mod operator.Analysis: 我自己用binary search做老是出TLE的错误,看了网上思路,有了如下方法:long did = dividend, l...
分类:其他好文   时间:2014-06-21 16:06:48    阅读次数:144
C# 同步
Interlockedsimplearithmetic operations are not atomic.Interlocked类提供了一个专门的机制用于完成这些特定的操作。这个类提供了Increment、Decrement、Add静态方法用于对int或long型变量的递增、递减或相加操作Inte...
分类:其他好文   时间:2014-06-21 12:06:35    阅读次数:320
C++ basic - numeric type conversation数值类型转换
What?在计算中涉及不同数值类型的computation,这时候,C++会按照以下顺序进行转换order:long double>double>float>unsigned long>long>unsigned int>integ. (1) 1/2=0(当1和2都是int时),结果也肯定是int;...
分类:编程语言   时间:2014-06-21 10:09:58    阅读次数:240
poj 2127 lcis wa
#include#include#include#include#includeusing namespace std;typedef long long ll;const int maxn = 505;const ll one = 1;const ll inf = one l[j-1][x]) l...
分类:其他好文   时间:2014-06-21 08:55:01    阅读次数:207
BigInteger in Cpp (造轮子大法第一波) 未完成版本
游荡知乎这么久,甚是仰慕V神。遂开始造轮子之路,由于新手实力较菜。顾从简单的大整数的入门。功能实现分析:1. 能用字符串, 长整型(long long or _int64)构造出此BigInteger.2. 具有正负数之分(整这个整了好一会)3. 实现基本运算 (c...
分类:其他好文   时间:2014-06-21 07:04:09    阅读次数:213
scjp考试准备 - 2
判断如下代码的执行结果: public class Spock{ public static void main(String[] args){ Long tail = 2000L; Long distance = 1999L; Long story = 1000L; if( (tail>dista...
分类:其他好文   时间:2014-06-20 19:11:31    阅读次数:172
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!