码迷,mamicode.com
首页 >  
搜索关键字:long position    ( 28572个结果
网页特效”漂浮广告代码”来回跳动的
<div id="ad" style="position:absolute"><a href="http://www.cnblog.com/wayne173" target="_blank"><img src="http://static.cnblogs.com/ima...
分类:Web程序   时间:2014-05-23 06:58:38    阅读次数:330
【COGS1384】鱼儿仪仗队
【题目描述】Jzyz的池塘里有很多条鱼,鱼儿们现在决定组成一个仪仗队。现在备选的N(1 2 #include 3 #include 4 #include 5 #include 6 const int maxn=100010; 7 using namespace std; 8 long lo...
分类:其他好文   时间:2014-05-23 04:41:27    阅读次数:186
剑指OFFER之二维数组中的查找(九度OJ1384)
题目描述:大家都知道斐波那契数列,现在要求输入一个整数n,请你输出斐波那契数列的第n项。斐波那契数列的定义如下:输入:输入可能包含多个测试样例,对于每个测试案例,输入包括一个整数n(1long long num[71] = {0,1};void createfi(long long *num);in...
分类:其他好文   时间:2014-05-23 03:55:11    阅读次数:188
AsyncResult
private static long CalculateFolderSize(string FolderName){ return FolderName.Length;} public delegate long CalculateFolderSizeDelegate(string...
分类:其他好文   时间:2014-05-23 03:35:27    阅读次数:235
hadoop 中对Vlong 和 Vint的压缩方法
hadoop 中对java的基本类型进行了writeable的封装,并且所有这些writeable都是继承自WritableComparable的,都是可比较的;并且,它们都有对应的get() 和 set()方法,其中对整型(int 和 long)进行编码的时候,有固定长度格式(intWritabl...
分类:其他好文   时间:2014-05-23 03:10:15    阅读次数:207
使用jni直接访问java对象中的字段
Java类:UserInfo public class UserInfo { static { System.loadLibrary("userinfo"); } // 从JNI中直接访问字段 public String mUserName; public int mUserAge; public long mMoney; public UserInfo() { }...
分类:编程语言   时间:2014-05-23 02:34:37    阅读次数:261
苹果浏览器应用实战(四)
上篇实例为图片浏览器是从小说阅读器直接将图片分页替换文本分页,还是双页显示。页面小阅读比较吃力,本篇拟改动几行代码,用全屏显示,看看效果如何。      #pgnumber{position:fixed;font-size:12px;left:200px;height:25px;top:10px;width:200px;z-index:1;}  原top改成10px,也就是从页脚改到页眉,可以动...
分类:移动开发   时间:2014-05-23 02:28:51    阅读次数:397
hdu 4416 水题 浙大计算机研究生复试上机考试-2005年 可是发现自己写代码有问题
题目:http://acm.hdu.edu.cn/showproblem.php?pid=1228 1、 没读清题就交-----a==0 && b==0 我以为zero zero借书 2、范围估计,100+100。。。。 3、代码设计,,,, #include #include using namespace std; #define SIZE 111 #define ll long...
分类:其他好文   时间:2014-05-22 18:46:45    阅读次数:513
Leetcode: Combinations
参考别人的code, 看似不难的题,其实挺费事的。思想还是:From this example, we can see that in the first position of the resulting combinations we can chose number 1-5. Assume t...
分类:其他好文   时间:2014-05-21 14:24:04    阅读次数:241
zoj 2853 Evolution(矩阵快速幂)
Evolution is a long, long process with extreme complexity and involves many species. Dr. C. P. Lottery is currently investigating a simplified model of evolution: consider that we haveN (2 N N -1, a...
分类:其他好文   时间:2014-05-21 13:43:27    阅读次数:444
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!