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_18072975_30685.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_18072975_30685.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_18072975_30685.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_18072975_30685.cpp: In function 'void Insert(char*)':
0_0_18072975_30685.cpp:14:23: error: 'strlen' was not declared in this scope
     int i,n = strlen(s);
                       ^
0_0_18072975_30685.cpp:18:34: error: 'NULL' was not declared in this scope
         if (p->next[s[i]-'a'] == NULL)
                                  ^
0_0_18072975_30685.cpp: In function 'int Search(char*)':
0_0_18072975_30685.cpp:34:23: error: 'strlen' was not declared in this scope
     int i,n = strlen(s);
                       ^
0_0_18072975_30685.cpp:38:34: error: 'NULL' was not declared in this scope
         if (p->next[s[i]-'a'] == NULL)
                                  ^
0_0_18072975_30685.cpp: In function 'void Release(Trie*)':
0_0_18072975_30685.cpp:46:14: error: 'NULL' was not declared in this scope
     if (p == NULL)
              ^
0_0_18072975_30685.cpp:49:27: error: 'NULL' was not declared in this scope
         if (p->next[i] != NULL)
                           ^
0_0_18072975_30685.cpp:51:11: error: 'free' was not declared in this scope
     free(p);
           ^
0_0_18072975_30685.cpp:52:12: error: 'NULL' was not declared in this scope
     root = NULL;
            ^
0_0_18072975_30685.cpp: In function 'void Init()':
0_0_18072975_30685.cpp:60:25: error: 'NULL' was not declared in this scope
         root->next[i] = NULL;
                         ^
0_0_18072975_30685.cpp: In function 'int main()':
0_0_18072975_30685.cpp:68:17: error: 'gets' was not declared in this scope
         gets(str);
                 ^
0_0_18072975_30685.cpp:69:26: error: 'strcmp' was not declared in this scope
         if (strcmp(str,"")==0) break;
                          ^
0_0_18072975_30685.cpp:72:28: error: 'scanf' was not declared in this scope
     while (~scanf ("%s",str))
                            ^
0_0_18072975_30685.cpp:73:35: error: 'printf' was not declared in this scope
         printf ("%d\n",Search(str));
                                   ^


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-15 01:49:48, Gzip enabled