/in/foo.cc:12:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main()
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=1;i<=n;i++)
^~~
/in/foo.cc:31:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
int tt=0;
^~~
/in/foo.cc:36:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i=head;i<=tail;i++)
^~~
/in/foo.cc:37:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
a[team[i].x][team[i].y]=0;break;}//若当前步数已达到目标,则队列中剩余的点都是可走的点,将其导出
^~~~~
/in/foo.cc:31:13: warning: unused variable 'tt' [-Wunused-variable]
int tt=0;
^~