0_0_16510661_5108.cpp: In function 'int main()': 0_0_16510661_5108.cpp:36:13: error: invalid types 'int[int]' for array subscript if(sum[w-1]>=cnt[1]-cnt[0]); ^