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_33092742_27770.cpp:11:27: error: array must be initialized with a brace-enclosed initializer
  int tree[maxn][26] = { 0 };
                           ^
0_0_33092742_27770.cpp: In member function 'void ACmechine::init()':
0_0_33092742_27770.cpp:17:31: error: 'memset' was not declared in this scope
   memset(tree, 0, sizeof(tree));
                               ^
0_0_33092742_27770.cpp: In member function 'void ACmechine::insertworld(char*)':
0_0_33092742_27770.cpp:25:31: error: 'strlen' was not declared in this scope
   for (int i = 0; i < strlen(s); i++)
                               ^
0_0_33092742_27770.cpp: In member function 'int ACmechine::query(char*)':
0_0_33092742_27770.cpp:66:31: error: 'strlen' was not declared in this scope
   for (int i = 0; i < strlen(s); i++)
                               ^


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 06:34:59, Gzip enabled