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_20361337_18104.cpp: In member function 'void Node::to0()':
0_0_20361337_18104.cpp:14:38: error: 'memset' was not declared in this scope
             memset(son,-1,sizeof(son));
                                      ^
0_0_20361337_18104.cpp: In function 'void insert(char*)':
0_0_20361337_18104.cpp:21:24: error: 'strlen' was not declared in this scope
      int len = strlen(x),root = 0;
                        ^
0_0_20361337_18104.cpp:24:19: error: 'root' was not declared in this scope
          if (node[root].son[k]==-1){
                   ^
0_0_20361337_18104.cpp:29:10: error: 'root' was not declared in this scope
          root=node[root].son[k];
          ^
0_0_20361337_18104.cpp:32:11: error: 'root' was not declared in this scope
      node[root].end++;    
           ^
0_0_20361337_18104.cpp: In function 'int search(char*)':
0_0_20361337_18104.cpp:36:22: error: 'strlen' was not declared in this scope
      int len=strlen(x),root=0,i;
                      ^
0_0_20361337_18104.cpp:37:12: error: 'i' was not declared in this scope
      for ( i = 0; i<len; i++){
            ^
0_0_20361337_18104.cpp:39:19: error: 'root' was not declared in this scope
          if (node[root].son[temp]==-1)return 0;
                   ^
0_0_20361337_18104.cpp:40:10: error: 'root' was not declared in this scope
          root=node[root].son[temp]; 
          ^


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.015600(s) query 1, Server time : 2024-07-06 03:35:11, Gzip enabled