0_0_27174191_11621.cpp: In function 'int main()': 0_0_27174191_11621.cpp:111:21: error: 'a' was not declared in this scope ans = ans * gay[a[l]] % mod*inv[r - l + 1] % mod; ^