/ Vijos /

记录详情

Accepted

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)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Accepted 2ms 376.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 3ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 85ms 384.0 KiB
#7 Accepted 2ms 384.0 KiB
#8 Accepted 72ms 384.0 KiB
#9 Accepted 141ms 384.0 KiB
#10 Accepted 144ms 384.0 KiB

信息

递交者
类型
递交
题目
P1656 萌萌赶考
语言
C++
递交时间
2022-03-24 19:46:52
评测时间
2022-03-24 19:46:52
评测机
分数
100
总耗时
459ms
峰值内存
384.0 KiB