projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rempve some unused files
[ghc-hetmet.git]
/
ghc
/
misc
/
examples
/
nfib
/
nfib.c
diff --git
a/ghc/misc/examples/nfib/nfib.c
b/ghc/misc/examples/nfib/nfib.c
deleted file mode 100644
(file)
index
04e7d54
..0000000
--- a/
ghc/misc/examples/nfib/nfib.c
+++ /dev/null
@@
-1,16
+0,0 @@
-#include <stdio.h>
-
-main ()
-{
- int n;
-
- scanf("%d",&n);
- n = nfib(n);
- printf("nfibs=%d\n",n);
- exit(0);
-}
-
-nfib (n)
-{
- return(n <= 1 ? 1 : nfib(n-1) + nfib(n-2) + 1);
-}