foo.cc: In function 'void dfs(int, int, int)':
foo.cc:30:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
30 | if(map[px][py]=='*'||(map[px][py]=='D'&&now==t-1))
| ^~
foo.cc:37:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
37 | if(flag) //此处剪枝非常关键!!!
| ^~
foo.cc: In function 'int main()':
foo.cc:45:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
45 | scanf("%d%d%d",&n,&m,&t);
| ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:53:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
53 | scanf(" %c",&map[i][j]);
| ~~~~~^~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务