0_0_28801359_31329.cpp: In function 'int main()': 0_0_28801359_31329.cpp:15:33: error: 't' was not declared in this scope for(int i = 1; i <= n; i++) t = c[b[i]], ans = (ans + max(c[b[1]] - n - 1, c[b[i]])) % PP; ^