0_0_31276163_14898.cpp: In function 'int main()': 0_0_31276163_14898.cpp:7:27: error: invalid types 'int[int]' for array subscript while(scanf("%s",&c)&&b[0]!='0') ^