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_37582776_23671.cpp: In function 'void createTrie(char*)':
0_0_37582776_23671.cpp:15:18: error: 'inext' was not declared in this scope
     for(int i=0; inext[id] == NULL)
                  ^
0_0_37582776_23671.cpp:15:24: error: 'id' was not declared in this scope
     for(int i=0; inext[id] == NULL)
                        ^
0_0_37582776_23671.cpp:15:35: error: expected ';' before ')' token
     for(int i=0; inext[id] == NULL)
                                   ^
0_0_37582776_23671.cpp:24:9: error: 'else' without a previous 'if'
         else
         ^
0_0_37582776_23671.cpp:26:21: error: 'id' was not declared in this scope
             p->next[id]->v++;
                     ^
0_0_37582776_23671.cpp: At global scope:
0_0_37582776_23671.cpp:30:5: error: 'p' does not name a type
     p->v = -1;
     ^
0_0_37582776_23671.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-07-03 06:51:53, Gzip enabled