Old .gitignore actually prevent the kraken versions of the benchmarks from being comitted, scarily enough - also some of the c fib tests

This commit is contained in:
Nathan Braswell committed 2022-05-18 01:28:49 -04:00
1 parent 34c6d01c31
commit 81a54b5a06
11 files changed
+1320 -24

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#include <stdio.h>
int fib(int n) {
if (n == 0) {
return 0;
} else if (n == 1) {
return 1;
} else {
return fib(n-1) + fib(n-2);
}
}
int main(int argc, char** argv) {
int n = 27;
printf("Fib(%d): %d\n", n, fib(n));
return 0;
}