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_37582774_30776.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_37582774_30776.cpp: In function 'void createTrie(char*)':
0_0_37582774_30776.cpp:13:25: error: 'strlen' was not declared in this scope
     int len = strlen(str);
                         ^
0_0_37582774_30776.cpp:15:18: error: 'inext' was not declared in this scope
     for(int i=0; inext[id] == NULL)
                  ^
0_0_37582774_30776.cpp:15:24: error: 'id' was not declared in this scope
     for(int i=0; inext[id] == NULL)
                        ^
0_0_37582774_30776.cpp:15:31: error: 'NULL' was not declared in this scope
     for(int i=0; inext[id] == NULL)
                               ^
0_0_37582774_30776.cpp:15:35: error: expected ';' before ')' token
     for(int i=0; inext[id] == NULL)
                                   ^
0_0_37582774_30776.cpp:17:44: error: 'malloc' was not declared in this scope
             q = (Trie *)malloc(sizeof(Trie));
                                            ^
0_0_37582774_30776.cpp:24:9: error: 'else' without a previous 'if'
         else
         ^
0_0_37582774_30776.cpp:26:21: error: 'id' was not declared in this scope
             p->next[id]->v++;
                     ^
0_0_37582774_30776.cpp: At global scope:
0_0_37582774_30776.cpp:30:5: error: 'p' does not name a type
     p->v = -1;
     ^
0_0_37582774_30776.cpp:31:1: error: expected declaration before '}' token
 }
 ^


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 20:35:18, Gzip enabled