0_0_24889311_12311.cpp: In function 'int main()': 0_0_24889311_12311.cpp:61:24: error: invalid types 'int[int]' for array subscript printf("%c",w[ans[i]]); ^