题目链接:click here~~
题目大意:
In the Fibonacci integer sequence, F0 = 0, F1 = 1, and
Fn = Fn ? 1 + Fn ? 2 for
n ≥ 2. For example, the first ten terms of the Fibonacci sequence are:
0, 1, 1, 2, 3,...
分类:
其他好文 时间:
2015-04-09 22:03:58
阅读次数:
141
Hanoi Tower Troubles Again!Time Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:132964-bit integer IO format:%I64d Ja...
分类:
其他好文 时间:
2015-04-09 21:47:01
阅读次数:
120
Groovy 类和JSON之间的相互转换,主要在groovy.json包下面1. JsonSlurper JsonSlurper 这个类用于转换JSON文本或从Groovy 数据结构中读取内容例如map、list和一些基本的数据类型如Integer, Double, Boolean和String. ...
分类:
Web程序 时间:
2015-04-09 21:25:33
阅读次数:
361
PairTime Limit: 1000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:MainPrevSubmitStatusStatisticsDiscussNextType:NoneTag it!给出一个...
分类:
其他好文 时间:
2015-04-09 16:50:03
阅读次数:
160
干了这桶冰红茶!Time Limit: 1000msMemory Limit: 65536KB64-bit integer IO format:%lld Java class name:MainPrevSubmitStatusStatisticsDiscussNextType:NoneTag it!...
分类:
其他好文 时间:
2015-04-09 16:49:53
阅读次数:
122
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:
其他好文 时间:
2015-04-09 13:29:58
阅读次数:
96
type
TArr = array of integer;function abc(a:integer):Tarr;
var
tempArr:TArr;
begin
setlength(tempArr,2);
tempArr[0] := a;
tempArr[1] := a + 10;
result:=tempArr;...
分类:
编程语言 时间:
2015-04-09 10:37:10
阅读次数:
154
' 将一个正数除以 y 返回一个整数或分数Function RFs(ByVal x As Integer) As String If x = 0 Then RFs = 0 Exit Function End If Dim div_result, div_...
分类:
编程语言 时间:
2015-04-09 10:13:51
阅读次数:
190
Little penguin Polo loves his home village. The village has n houses, indexed by integers from 1 to n. Each house has a plaque containing an integer, the i-th house has a plaque containing integer pi (...
分类:
其他好文 时间:
2015-04-09 09:04:20
阅读次数:
177
TELETime Limit: 1000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:115564-bit integer IO format:%lld Java class name:MainA TV-n...
分类:
其他好文 时间:
2015-04-08 22:44:56
阅读次数:
237