/ CWOI /

记录详情

Compile Error

/in/foo.cc:10:33: error: 'N1' was not declared in this scope
  int ch[N][27],fail[N],en[N],en[N1],cnt;
                                 ^~
/in/foo.cc: In member function 'void acauto::acmach(int)':
/in/foo.cc:16:4: error: 'itn' was not declared in this scope
    itn tmp=q.front();q.pop();
    ^~~
/in/foo.cc:18:11: error: 'tmp' was not declared in this scope
     if(ch[tmp][i]){
           ^~~
/in/foo.cc:21:11: error: 't1' was not declared in this scope
      fail[t1]=t? ch[t][i]:x;
           ^~
/in/foo.cc:23:6: error: 'en1' was not declared in this scope
      en1[t1]=en1[fail[t1]]+en[t1];
      ^~~
/in/foo.cc: In member function 'void acauto::insert()':
/in/foo.cc:45:26: error: 'acmatch' was not declared in this scope
         acmatch(root[top]);
                          ^
/in/foo.cc: In member function 'int acauto::query(int)':
/in/foo.cc:60:22: error: 'en1' was not declared in this scope
                 ret+=en1[now];
                      ^~~

信息

递交者
类型
递交
题目
2017.07.18 P3 字符串查询
语言
C++
递交时间
2017-07-18 21:02:49
评测时间
2017-07-18 21:02:49
评测机
分数
0
总耗时
278ms
峰值内存
38.746 MiB