F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_34029883_3082.cpp:8:2: error: missing terminating " character
  next[L][i] = "1;
  ^
0_0_34029883_3082.cpp:10:2: error: stray 'L' in program
  return L"1;
  ^
0_0_34029883_3082.cpp:20:2: error: stray '\22' in program
  if(next[now][buf[i]"'a'] == "1)
  ^
0_0_34029883_3082.cpp:21:2: error: missing terminating " character
  next[now][buf[i]"'a'] = newnode();
  ^
0_0_34029883_3082.cpp:22:2: error: missing terminating " character
  now = next[now][buf[i]"'a'];
  ^
0_0_34029883_3082.cpp:30:9: error: missing terminating " character
         if(next[root][i] == "1)
         ^
0_0_34029883_3082.cpp:40:13: error: missing terminating " character
             if(next[now][i] == "1)
             ^
0_0_34029883_3082.cpp:54:13: error: missing terminating " character
             now = next[now][buf[i]"'a'];
             ^
0_0_34029883_3082.cpp:79:9: error: stray '\22' in program
         while( T"" ){
         ^
0_0_34029883_3082.cpp: In member function 'int Trie::newnode()':
0_0_34029883_3082.cpp:11:2: error: expected primary-expression before '}' token
  }
  ^
0_0_34029883_3082.cpp:11:2: error: expected ';' before '}' token
0_0_34029883_3082.cpp: In member function 'void Trie::insert(char*)':
0_0_34029883_3082.cpp:20:21: error: expected ']' before string constant
  if(next[now][buf[i]"'a'] == "1)
                     ^
0_0_34029883_3082.cpp:20:21: error: expected ')' before string constant
0_0_34029883_3082.cpp:22:2: error: expected ']' before 'now'
  now = next[now][buf[i]"'a'];
  ^
0_0_34029883_3082.cpp:22:2: error: expected ';' before 'now'
0_0_34029883_3082.cpp: In member function 'void Trie::build()':
0_0_34029883_3082.cpp:31:27: error: lvalue required as left operand of assignment
             next[root][i] = root;
                           ^
0_0_34029883_3082.cpp:31:33: error: expected ')' before ';' token
             next[root][i] = root;
                                 ^
0_0_34029883_3082.cpp:41:30: error: lvalue required as left operand of assignment
                 next[now][i] = next[fail[now]][i];
                              ^
0_0_34029883_3082.cpp:41:50: error: expected ')' before ';' token
                 next[now][i] = next[fail[now]][i];
                                                  ^
0_0_34029883_3082.cpp: In member function 'int Trie::query(char*)':
0_0_34029883_3082.cpp:55:13: error: expected ']' before 'int'
             int temp = now;
             ^
0_0_34029883_3082.cpp:55:13: error: expected ';' before 'int'
0_0_34029883_3082.cpp:56:16: error: 'temp' was not declared in this scope
         while( temp != root ){
                ^
0_0_34029883_3082.cpp: In function 'int main()':
0_0_34029883_3082.cpp:79:17: error: expected ')' before string constant
         while( T"" ){
                 ^
0_0_34029883_3082.cpp:79:22: error: expected ';' before ')' token
         while( T"" ){
                      ^
0_0_34029883_3082.cpp:91:2: error: expected '}' at end of input
  }
  ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-25 03:52:46, Gzip enabled