0_0_35906813_10824.cpp: In function 'int main()': 0_0_35906813_10824.cpp:16:15: error: invalid types 'int[int]' for array subscript sum+=s[i]; ^