foo.cpp: In function 'int main()':
foo.cpp:69:32: error: expected ':' before ';' token
ans[0][0]='1'?ans[0][1]='2';ans[0][2]='3';
^
foo.cpp:69:32: error: expected primary-expression before ';' token
foo.cpp:70:32: error: expected ':' before ';' token
ans[0][0]='8'?ans[0][1]='0';ans[0][2]='4';
^
foo.cpp:70:32: error: expected primary-expression before ';' token
foo.cpp:71:32: error: expected ':' before ';' token
ans[0][0]='7'?ans[0][1]='6';ans[0][2]='5';
^
foo.cpp:71:32: error: expected primary-expression before ';' token