/ new_bzoj /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:32:17: error: missing template arguments before '[' token
   hash1[i]=(hash[i-1]*base+a[i])%mod;
                 ^
/in/foo.cc:36:7: error: missing template arguments before '.' token
   hash.clear();
       ^
/in/foo.cc:54:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
  printf("%d %d\n",ans,ansk.size());
                       ~~~~~~~~~~~^
/in/foo.cc:55:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<ansk.size();i++) printf("%d ",ansk[i]);
              ~^~~~~~~~~~~~

信息

递交者
类型
递交
题目
Beads
语言
C++
递交时间
2017-09-12 20:44:52
评测时间
2017-09-12 20:44:52
评测机
分数
0
总耗时
613ms
峰值内存
53.184 MiB