0_0_29954015_6266.cpp: In function 'int main()': 0_0_29954015_6266.cpp:48:40: error: invalid operands of types 'int [300005]' and 'int [300005]' to binary 'operator+' for(int i=1;i<=n;++i)ans=max(f[i]+g[i]-1,ans); ^