0_0_38355836_22997.cpp: In function 'int main()': 0_0_38355836_22997.cpp:53:49: error: expected ')' before ':' token for(int i=1;i<=q;i++)cout<<ans[i]<<(i==q:"\n":" "); ^