【题目描述】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
题目描述:大家都知道斐波那契数列,现在要求输入一个整数n,请你输出斐波那契数列的第n项。斐波那契数列的定义如下:输入:输入可能包含多个测试样例,对于每个测试案例,输入包括一个整数n(1long
long num[71] = {0,1};void createfi(long long *num);in...
分类:
其他好文 时间:
2014-05-23 03:55:11
阅读次数:
188
private static long CalculateFolderSize(string
FolderName){ return FolderName.Length;} public delegate long
CalculateFolderSizeDelegate(string...
分类:
其他好文 时间:
2014-05-23 03:35:27
阅读次数:
235
hadoop
中对java的基本类型进行了writeable的封装,并且所有这些writeable都是继承自WritableComparable的,都是可比较的;并且,它们都有对应的get()
和 set()方法,其中对整型(int 和 long)进行编码的时候,有固定长度格式(intWritabl...
分类:
其他好文 时间:
2014-05-23 03:10:15
阅读次数:
207
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
Activity.runOnUiThread(Runnable)·View.post(Runnable)·View.postDelayed(Runnable,
long)·Handler
分类:
编程语言 时间:
2014-05-21 19:37:55
阅读次数:
285
#include
#include
#include
typedef unsigned short WORD;
typedef unsigned long DWORD;
typedef unsigned char BYTE;
/*
typedef struct tagBITMAPFILEHEADER {
WORD bfType;
DWORD bfSize;
W...
分类:
其他好文 时间:
2014-05-21 16:08:23
阅读次数:
347
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
1.long型数据的计算
之前在写到关于一个时间的小软件时,System.currentTimeMillis()返回的是从1970年1月1日到现在的毫秒数,是long型的,需要给这个加上一个数字。
比如:
long curTime = System.currentTimeMillis();// 获取当前时间
long deadLineTime = curTime+(30*24*60*6...
分类:
移动开发 时间:
2014-05-21 09:41:55
阅读次数:
286
如何往clob类型中插入一个超过10000 bytes 的字符串
You'll have to assign the value to a variable & use the variable to insert the data
DECLARE
v_long_text CLOB;
BEGIN
v_long_text := '...
分类:
其他好文 时间:
2014-05-21 09:14:36
阅读次数:
225