Memory Exceeded

foo.cc: In function 'int Slove(int)':
foo.cc:14:12: warning: control reaches end of non-void function [-Wreturn-type]
   14 |         cnt+=a[sum];
      |         ~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Memory Exceeded ≥57ms ≥16.016 MiB
#2 Memory Exceeded ≥43ms ≥16.016 MiB
#3 Memory Exceeded ≥43ms ≥16.016 MiB
#4 Memory Exceeded ≥45ms ≥16.016 MiB
#5 Memory Exceeded ≥42ms ≥16.016 MiB
#6 Memory Exceeded ≥43ms ≥16.016 MiB
#7 Memory Exceeded ≥41ms ≥16.016 MiB
#8 Memory Exceeded ≥44ms ≥16.016 MiB
#9 Memory Exceeded ≥41ms ≥16.016 MiB
#10 Memory Exceeded ≥41ms ≥16.016 MiB

信息

递交者
类型
递交
题目
P1502 母牛生小牛
语言
C++
递交时间
2023-07-28 19:42:24
评测时间
2023-07-28 20:00:02
评测机
分数
0
总耗时
≥445ms
峰值内存
≥16.016 MiB