/ StarOI /

记录详情

Compile Error

/in/foo.cc: In member function 'int Trie::newnode()':
/in/foo.cc:22:35: error: 'memset' was not declared in this scope
   memset(ch[tot],0,sizeof(ch[tot]));
                                   ^
/in/foo.cc: In member function 'void Trie::insert(char*)':
/in/foo.cc:36:25: error: 'strlen' was not declared in this scope
   int cur=0,len=strlen(s);
                         ^
/in/foo.cc: In member function 'int AM::newnode()':
/in/foo.cc:49:35: error: 'memset' was not declared in this scope
   memset(ch[tot],0,sizeof(ch[tot]));
                                   ^
/in/foo.cc: In member function 'void AM::build(char*, int*, int)':
/in/foo.cc:60:25: error: 'memset' was not declared in this scope
   memset(to,0,sizeof(to));
                         ^
/in/foo.cc:64:30: error: 'memcpy' was not declared in this scope
    memcpy(ch[p],to,sizeof(to));
                              ^
/in/foo.cc:67:29: error: 'memcpy' was not declared in this scope
   memcpy(ch[0],to,sizeof(to));
                             ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:92:17: error: 'strlen' was not declared in this scope
  int lt=strlen(T);
                 ^

信息

递交者
类型
自测
题目
无限的可能
语言
C++
递交时间
2017-05-20 23:22:12
评测时间
2017-05-20 23:22:12
评测机
分数
0
总耗时
319ms
峰值内存
34.758 MiB