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_21601152_29496.cpp:10:5: error: stray '\243' in program
     int root, L£¬ offset = 'a';
     ^
0_0_21601152_29496.cpp:10:5: error: stray '\254' in program
0_0_21601152_29496.cpp:10:15: error: expected ';' at end of member declaration
     int root, L£¬ offset = 'a';
               ^
0_0_21601152_29496.cpp:10:19: error: 'offset' does not name a type
     int root, L£¬ offset = 'a';
                   ^
0_0_21601152_29496.cpp: In member function 'void AC::insert(char*, int)':
0_0_21601152_29496.cpp:27:33: error: 'offset' was not declared in this scope
             if(Next[now][buf[i]-offset] == -1)
                                 ^
0_0_21601152_29496.cpp:29:36: error: 'offset' was not declared in this scope
             now = Next[now][buf[i]-offset];
                                    ^
0_0_21601152_29496.cpp: In member function 'int AC::query(char*)':
0_0_21601152_29496.cpp:60:36: error: 'offset' was not declared in this scope
             now = Next[now][buf[i]-offset];
                                    ^


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-26 14:28:41, Gzip enabled