dComArk15/Aflevering5-x86-64/fib-ext.c
Christoffer Müller Madsen e2e36f9f0d initial commit
2016-01-03 13:29:05 +01:00

14 lines
255 B
C

#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;
}