/ Vijos /

记录详情

Memory Exceeded

/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:96:15: warning: 'd2' may be used uninitialized in this function [-Wmaybe-uninitialized]
    map[d1][d2]=0;
    ~~~~~~~~~~~^~
/in/foo.c:96:15: warning: 'd1' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 256.0 KiB
#2 Accepted 10ms 3.25 MiB
#3 Wrong Answer 5ms 308.0 KiB
#4 Wrong Answer 6ms 256.0 KiB
#5 Memory Exceeded ≥1002ms ≥256.0 MiB
#6 Memory Exceeded ≥1023ms ≥256.0 MiB
#7 Memory Exceeded ≥1056ms ≥256.0 MiB
#8 Memory Exceeded ≥1045ms ≥256.0 MiB
#9 Memory Exceeded ≥1071ms ≥256.0 MiB
#10 Memory Exceeded ≥1049ms ≥256.0 MiB

信息

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