/ 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:108: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:14: warning: 'd2' may be used uninitialized in this function [-Wmaybe-uninitialized]
   map[d1][d2]=0;
   ~~~~~~~~~~~^~
/in/foo.c:95:14: warning: 'd1' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Runtime Error 3ms 256.0 KiB
#2 Accepted 6ms 2.324 MiB
#3 Runtime Error 2ms 256.0 KiB
#4 Wrong Answer 2ms 256.0 KiB
#5 Time Exceeded ≥1003ms ≥237.0 MiB
#6 Memory Exceeded ≥1003ms ≥256.0 MiB
#7 Time Exceeded ≥1002ms ≥240.0 MiB
#8 Memory Exceeded ≥1001ms ≥256.0 MiB
#9 Memory Exceeded ≥1005ms ≥256.0 MiB
#10 Runtime Error 2ms 256.0 KiB

信息

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