记录详情

Memory Exceeded

/in/foo.cc: In function 'bool hashs(unsigned int)':
/in/foo.cc:16:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(p==x%mod) return false; return true;
  ^~
/in/foo.cc:16:29: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  if(p==x%mod) return false; return true;
                             ^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:21:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<=n;i++) cin>>a[i];
              ~^~~
/in/foo.cc:22:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=1;i<=n;i++){
              ~^~~
# 状态 耗时 内存占用
#1 Accepted 4ms 256.0 KiB
#2 Accepted 10ms 3.625 MiB
#3 Accepted 11ms 1.711 MiB
#4 Accepted 10ms 3.125 MiB
#5 Accepted 267ms 15.777 MiB
#6 Accepted 237ms 17.832 MiB
#7 Accepted 106ms 5.867 MiB
#8 Memory Exceeded ≥1001ms ≥256.0 MiB
#9 Time Exceeded ≥1008ms ≥255.945 MiB
#10 Time Exceeded ≥1006ms ≥255.992 MiB

信息

递交者
类型
递交
题目
好元素
题目数据
下载
语言
C++
递交时间
2017-11-08 09:07:31
评测时间
2017-11-08 09:07:31
评测机
分数
70
总耗时
≥3663ms
峰值内存
≥256.0 MiB