foo.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
foo.cc: In function 'bool check3()':
foo.cc:35:14: error: 'i0' was not declared in this scope
for (int i=1;i0;j--) if (!a[j][i]) {if (m-j!=yy[i][ly[i]]) return false;break;}
^~
foo.cc:35:14: note: suggested alternative: 'i'
for (int i=1;i0;j--) if (!a[j][i]) {if (m-j!=yy[i][ly[i]]) return false;break;}
^~
i
foo.cc:35:17: error: 'j' was not declared in this scope
for (int i=1;i0;j--) if (!a[j][i]) {if (m-j!=yy[i][ly[i]]) return false;break;}
^
foo.cc: At global scope:
foo.cc:39:1: error: expected unqualified-id before 'for'
for (int i=1;i
^~~
foo.cc:39:14: error: 'i' does not name a type
for (int i=1;i
^
foo.cc: In function 'bool check(int, int)':
foo.cc:19:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
foo.cc: In function 'bool check2(int, int)':
foo.cc:29:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。