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
2022-05-18 01:28:49 -04:00
parent 34c6d01c31
commit 81a54b5a06
11 changed files with 1320 additions and 24 deletions

17
working_files/fib.c Normal file
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;
}