/ Vijos /

记录详情

Runtime Error

/in/foo.c: In function 'bfs':
/in/foo.c:46:16: warning: missing braces around initializer [-Wmissing-braces]
  int dir[4][2]={-1,0,1,0,0,-1,0,1};
                ^
/in/foo.c:46:16: note: (near initialization for 'dir')
/in/foo.c: In function 'main':
/in/foo.c:110:22: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'int *' [-Wformat=]
  scanf("%d %d %d %d %s",&qx,&qy,&zx,&zy,str);
                      ^
/in/foo.c: In function 'bfs':
/in/foo.c:95:27: warning: 'd2' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(d1>0 || d1<n || d2>0 || d2<m)
      ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/in/foo.c:95:11: warning: 'd1' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(d1>0 || d1<n || d2>0 || d2<m)
      ~~~~~^~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 11ms 256.0 KiB
#2 Accepted 13ms 2.332 MiB
#3 Runtime Error 5ms 256.0 KiB
#4 Wrong Answer 1ms 256.0 KiB
#5 Memory Exceeded ≥1001ms ≥256.0 MiB
#6 Memory Exceeded ≥1001ms ≥256.0 MiB
#7 Memory Exceeded ≥1027ms ≥256.0 MiB
#8 Memory Exceeded ≥1026ms ≥256.0 MiB
#9 Memory Exceeded ≥1001ms ≥256.0 MiB
#10 Runtime Error 9ms 256.0 KiB

信息

递交者
类型
递交
题目
P1161 机器人搬重物
语言
C
递交时间
2018-04-16 22:52:28
评测时间
2018-04-16 22:52:28
评测机
分数
10
总耗时
5100ms
峰值内存
256.0 MiB