ljetopica.cpp: In function 'll f()':
ljetopica.cpp:23:10: warning: suggest parentheses around '-' in operand of '&' [-Wparentheses]
if((k - j & 1) ^ (S[i - 1] == 'R')) dp[i][j] = (dp[i][j] + B[n - i] * C[i + 1][j]) % mod;
~~^~~
ljetopica.cpp:28:15: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
if((k - j + 1 & 1) ^ (S[i - 1] == 'R')) dp[i][j] = (dp[i][j] + B[n - i] * C[i + 1][j - 1]) % mod;
~~~~~~^~~
ljetopica.cpp: In function 'int main()':
ljetopica.cpp:40:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &n, &k); n --;
~~~~~^~~~~~~~~~~~~~~~~~~~
ljetopica.cpp:41:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%s%s", S, A, B);
~~~~~^~~~~~~~~~~~~~~~~~~