0_0_22992330_20760.cpp: In function 'int main()': 0_0_22992330_20760.cpp:50:25: error: expected primary-expression before ']' token printf("%d\n",ans);] ^