0_0_34967779_21674.cpp: In function 'int main()':
0_0_34967779_21674.cpp:114:57: error: expected ']' before ')' token
ans = (ans + g[a[i]][tmp + res[a[i]])]) % mod;
^
0_0_34967779_21674.cpp:114:58: error: expected ';' before ']' token
ans = (ans + g[a[i]][tmp + res[a[i]])]) % mod;
^
|