dComArk15/Aflevering5-x86-64/fib-ext.c

14 lines
255 B
C
Raw Permalink Normal View History

2016-01-03 12:29:05 +00:00
#include <stdio.h>
#include <stdlib.h>
extern unsigned long long fib(unsigned long long n);
int main(int argc, char *argv[]) {
unsigned long long n, r;
n = atoll(argv[1]);
r = fib(n);
printf("fib(%llu) = %llu\n", n, r);
return 0;
}