【题目描述】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
PHP字符串常用的操作函数strval 把变量转换成字符串strrev 反转字符串trim
去掉字符串首尾半角空格ltrim 去掉左边半角的英文空格rtrim 去掉右边半角的英文空格strlen 取字符串的长度 long lengthsubstr
截取子字符串strrchr 查找字符在字符串中最后出...
分类:
Web程序 时间:
2014-05-21 23:25:34
阅读次数:
423
数据类型
java数据类型基本数据类型数值型整型byte/short/int/long浮点型/double/float字符型char布尔型boolean取值true
false对象数据类型类Class接口 interface数组array[]类型 对象位数字节数最小值最大值byte Byte...
分类:
编程语言 时间:
2014-05-21 22:26:43
阅读次数:
317
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
题目链接:uva 11645 - Bits
题目大意:给出n,问从0到n这n+1个数种,数的二进制情况下,有多少11存在。
解题思路:和uva 11038一个类型的题目,只是这道题目是对于二进制下的情况。而且高精度部分可以用两个long long数解决。
#include
#include
typedef long long ll;
const int N = 100;
con...
分类:
其他好文 时间:
2014-05-21 11:17:49
阅读次数:
222
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