Accepted
/in/foo.cc: In function 'int main()':
/in/foo.cc:47:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'LL* {aka long long int*}' [-Wformat=]
scanf("%I64d", &n);
^
/in/foo.cc:49:63: warning: format '%d' expects argument of type 'int', but argument 2 has type 'LL {aka long long int}' [-Wformat=]
printf("%I64d\n", (Lucas(2 * n, n) - Lucas(2 * n, n - 1)+p)%p);
^
/in/foo.cc:46:6: warning: unused variable 'T' [-Wunused-variable]
int T;
^