/ Vijos /

记录详情

Accepted

foo.cc: In function 'void dfs(int, int, int)':
foo.cc:30:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
          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'
           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]
         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]
            scanf(" %c",&map[i][j]);
            ~~~~~^~~~~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 392.0 KiB
#3 Accepted 1ms 408.0 KiB
#4 Accepted 2ms 400.0 KiB
#5 Accepted 2ms 408.0 KiB
#6 Accepted 62ms 392.0 KiB
#7 Accepted 2ms 436.0 KiB
#8 Accepted 58ms 432.0 KiB
#9 Accepted 111ms 432.0 KiB
#10 Accepted 114ms 440.0 KiB

信息

递交者
类型
递交
题目
P1656 萌萌赶考
语言
C++
递交时间
2021-04-06 21:26:18
评测时间
2021-04-06 21:26:18
评测机
分数
100
总耗时
360ms
峰值内存
440.0 KiB