记录详情

Time 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 2ms 2.352 MiB
#2 Accepted 4ms 4.367 MiB
#3 Accepted 5ms 2.25 MiB
#4 Accepted 5ms 4.25 MiB
#5 Accepted 248ms 16.344 MiB
#6 Accepted 214ms 18.25 MiB
#7 Accepted 81ms 4.359 MiB
#8 Time Exceeded ≥1005ms ≥32.25 MiB
#9 Time Exceeded ≥1002ms ≥31.992 MiB
#10 Time Exceeded ≥1003ms ≥32.215 MiB

信息

递交者
类型
递交
题目
好元素
题目数据
下载
语言
C++
递交时间
2018-03-04 11:45:35
评测时间
2018-03-04 11:45:35
评测机
分数
70
总耗时
≥3575ms
峰值内存
≥32.25 MiB