foo.cc:1:7: error: expected constructor, destructor, or type conversion before '(' token
memset( ans , false , sizeof(ans) ) ;
^
foo.cc:6:1: error: expected unqualified-id before 'for'
for (i=0;i<m;++i)
^~~
foo.cc:6:10: error: 'i' does not name a type
for (i=0;i<m;++i)
^
foo.cc:6:14: error: expected unqualified-id before '++' token
for (i=0;i<m;++i)
^~
foo.cc:7:10: error: 'j' does not name a type
for (j=0;j<m;++j) {
^
foo.cc:7:14: error: expected unqualified-id before '++' token
for (j=0;j<m;++j) {
^~
foo.cc:12:1: error: expected unqualified-id before 'for'
for (ii[1]=1,jj[1]=0,i=0;i<m;++i) {
^~~
foo.cc:12:26: error: 'i' does not name a type
for (ii[1]=1,jj[1]=0,i=0;i<m;++i) {
^
foo.cc:12:30: error: expected unqualified-id before '++' token
for (ii[1]=1,jj[1]=0,i=0;i<m;++i) {
^~
foo.cc:29:1: error: expected unqualified-id before 'if'
if (flag==0) puts("Unsuccessful Hack Attempt");
^~
foo.cc:30:1: error: expected unqualified-id before 'else'
else {
^~~~
[Hydro](https://hydro.ac)提供评测服务