0_0_30429015_30487.cpp: In function 'int main()': 0_0_30429015_30487.cpp:25:36: error: invalid types 'int[int]' for array subscript for(int i=res;i<0;i++)ans+=res[i]; ^