代码搜索:recursive
找到约 2,177 项符合「recursive」的源代码
代码结果 2,177
www.eeworm.com/read/148707/12437078
cpp 13ii.cpp
#include
// Fib() Returns the Fibonacci number corresponding to n
// IN: n is a positive integer
int Fib (int n)
{ int temp;
if (n < 2)
temp = 1; // trivial case
else
www.eeworm.com/read/132141/14107561
cpp rsum.cpp
// recursive sum of n numbers
#include
template
T Rsum(T a[], int n)
{// Return sum of numbers a[0:n - 1].
if (n > 0)
return Rsum(a, n-1) + a[n-1];
return
www.eeworm.com/read/132141/14107917
cpp rknap.cpp
// dynamic programming recursive knapsack
#include
#include
#include "dosmax.h" // has max() and min()
int p[6] = {0, 6, 3, 5, 4, 6};
int w[6] = {0, 2, 2, 6, 5, 4};
www.eeworm.com/read/234256/14117733
cpp program_6_13.cpp
// program 6.13: Recursive function
#include
using namespace std;
int Factorial(int n) {
if(n == 0)
return 1;
else
return n * Factorial(n-1);
}
int main() {
www.eeworm.com/read/230414/14289967
plg time.plg
礦ision2 Build Log
Project:
C:\Documents and Settings\Administrator\桌面\51LCD时钟\time.uv2
Project File Date: 08/13/2007
Output:
compiling time.c.
www.eeworm.com/read/229410/14339960
desktop pavuk.desktop
[Desktop Entry]
Name=Pavuk
Name[sk]=Pav鷎
Name[cs]=Pav鷎
Comment=Recursive World Wide Web mirroring tool for HTTP, HTTPS, FTP and Gopher protocols
Comment[sk]=N醩troj na rekurz韛ne kop韗ovanie dokumentov z
www.eeworm.com/read/229298/14346386
cpp program_6_13.cpp
// program 6.13: Recursive function
#include
using namespace std;
int Factorial(int n) {
if(n == 0)
return 1;
else
return n * Factorial(n-1);
}
int main() {