/ Vijos /

记录详情

Memory Exceeded

foo.cpp: In function 'int main()':
foo.cpp:13:20: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
  scanf("%d%d",&r,&c);
                    ^
foo.cpp:13:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
foo.cpp:17:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
    scanf("%d",&m[i][j]);
                       ^
foo.cpp:24:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%d",ans);
                 ^
foo.cpp: In function 'int search(int, int)':
foo.cpp:30:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,tmp,nx,ny;
        ^
# 状态 耗时 内存占用
#1 Memory Exceeded ≥0ms ≥1.491 GiB
#2 Memory Exceeded ≥0ms ≥1.491 GiB
#3 Memory Exceeded ≥0ms ≥1.491 GiB
#4 Memory Exceeded ≥0ms ≥1.491 GiB
#5 Memory Exceeded ≥0ms ≥1.491 GiB
#6 Memory Exceeded ≥0ms ≥1.491 GiB
#7 Memory Exceeded ≥0ms ≥1.491 GiB
#8 Memory Exceeded ≥0ms ≥1.491 GiB
#9 Memory Exceeded ≥0ms ≥1.491 GiB
#10 Memory Exceeded ≥0ms ≥1.491 GiB

信息

递交者
类型
递交
题目
P1011 清帝之惑之顺治
语言
C++
递交时间
2017-03-10 18:53:12
评测时间
2017-03-10 18:53:12
评测机
分数
0
总耗时
≥0ms
峰值内存
≥1.491 GiB