mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
866597e6d1
git-svn-id: file:///svn/toku/tokudb@32232 c7de825b-a66e-492c-adef-691d508d4ae1
12 lines
228 B
C
12 lines
228 B
C
#include <stdio.h>
|
|
#include <assert.h>
|
|
#include <stdlib.h>
|
|
#include "fiblib.h"
|
|
|
|
int main (int argc, char *argv[]) {
|
|
assert(argc==2);
|
|
int n = atoi(argv[1]);
|
|
long fn = fib(n);
|
|
printf("fib(%d)=%ld\n", n, fn);
|
|
return 0;
|
|
}
|