14 lines
255 B
C
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;
|
||
|
}
|