0_0_30465854_31873.cpp: In function 'int main()': 0_0_30465854_31873.cpp:53:19: error: invalid types 'char[int]' for array subscript if(s[0]=='Q') ^