P.cpp: In function 'int main()':
P.cpp:27:2: error: expected ';' before 'll'
ll n, k, A, B, i, nk, bitset_v = 1;
^~
P.cpp:27:36: warning: statement is a reference, not call, to function 'freopen' [-Waddress]
ll n, k, A, B, i, nk, bitset_v = 1;
^
P.cpp:27:36: warning: statement has no effect [-Wunused-value]
P.cpp:30:2: error: 'n' was not declared in this scope
n = tN, k = tK;
^
P.cpp:30:10: error: 'k' was not declared in this scope
n = tN, k = tK;
^
P.cpp:33:2: error: 'nk' was not declared in this scope
nk = k * n;
^~
P.cpp:34:7: error: 'i' was not declared in this scope
for (i = 1; i < LIMIT; i++) F[i] = F[i - 1] * F[i - 1];
^
P.cpp:35:7: error: 'i' was not declared in this scope
for (i = 0; i < LIMIT; i++) {
^
P.cpp:36:8: error: 'bitset_v' was not declared in this scope
if ((bitset_v << i) & nk) NK = NK * F[i];
^~~~~~~~
P.cpp:36:8: note: suggested alternative: 'sigset_t'
if ((bitset_v << i) & nk) NK = NK * F[i];
^~~~~~~~
sigset_t
P.cpp:37:8: error: 'bitset_v' was not declared in this scope
if ((bitset_v << i) & k) K = K * F[i];
^~~~~~~~
P.cpp:37:8: note: suggested alternative: 'sigset_t'
if ((bitset_v << i) & k) K = K * F[i];
^~~~~~~~
sigset_t
P.cpp:40:2: error: 'A' was not declared in this scope
A = (NK.m[0][1] % M) * _pow(K.m[0][1] % M, M - 2) % M;
^
P.cpp:41:2: error: 'B' was not declared in this scope
B = ((NK.m[1][1] % M) - A * (K.m[1][1] % M) % M + M) % M;
^