记录详情

Memory Exceeded

foo.cc: In function 'int main()':
foo.cc:77:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:78:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(int i=1;i<=n;i++)scanf("%d",a+i);
                       ~~~~~^~~~~~~~~~
foo.cc:90:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d%d%d",&l,&r,&v);
    ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:96:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d%d",&l,&r);
    ~~~~~^~~~~~~~~~~~~~
foo.cc:102:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d",&nt);
    ~~~~~^~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Memory Exceeded ≥209ms ≥256.016 MiB
#2 Wrong Answer Read {0}, expect {1}. ["0","508"] 1ms 384.0 KiB
#3 Wrong Answer Read {0}, expect {1}. ["0","1205"] 2ms 384.0 KiB
#4 Wrong Answer Read {0}, expect {1}. ["0","286072"] 2ms 1.016 MiB
#5 Wrong Answer Read {0}, expect {1}. ["0","337380"] 2ms 1.125 MiB
#6 Wrong Answer Read {0}, expect {1}. ["0","405306"] 17ms 8.965 MiB
#7 Wrong Answer Read {0}, expect {1}. ["0","2192025"] 13ms 7.73 MiB
#8 Wrong Answer Read {0}, expect {1}. ["0","8434857"] 40ms 23.367 MiB
#9 Wrong Answer Read {0}, expect {1}. ["0","138347"] 47ms 25.156 MiB
#10 Wrong Answer Read {0}, expect {1}. ["0","4108509"] 71ms 39.969 MiB

信息

递交者
类型
递交
题目
P1005 时间树
语言
C++
递交时间
2021-01-27 20:47:12
评测时间
2021-01-27 20:47:12
评测机
分数
0
总耗时
≥411ms
峰值内存
≥256.016 MiB