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_26546263_11711.cpp:9:63: error: expected primary-expression before ',' token
 template<class Value, class KeyChar = char, int MAX_HASH_SIZE=, int MAX_FAIL_DEPTH=5>
                                                               ^
0_0_26546263_11711.cpp: In function 'int main()':
0_0_26546263_11711.cpp:406:31: error: template argument 3 is invalid
     typedef ACAutoMachine<bool> ACMachine;
                               ^
0_0_26546263_11711.cpp:406:42: error: invalid type in declaration before ';' token
     typedef ACAutoMachine<bool> ACMachine;
                                          ^
0_0_26546263_11711.cpp:410:31: error: qualified-id in declaration before 'svec'
         ACMachine::PatternVec svec;
                               ^
0_0_26546263_11711.cpp:411:9: error: 'svec' was not declared in this scope
         svec.reserve(n);
         ^
0_0_26546263_11711.cpp:418:12: error: request for member 'Build' in 'ac', which is of non-class type 'ACMachine {aka int}'
         ac.Build(svec);
            ^
0_0_26546263_11711.cpp:422:32: error: qualified-id in declaration before 'st'
         ACMachine::QueryResult st;
                                ^
0_0_26546263_11711.cpp:423:12: error: request for member 'Query' in 'ac', which is of non-class type 'ACMachine {aka int}'
         ac.Query(s, &st);
            ^
0_0_26546263_11711.cpp:423:22: error: 'st' was not declared in this scope
         ac.Query(s, &st);
                      ^


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-30 02:58:24, Gzip enabled