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_13752004_3539.c:11:5: error: expected specifier-qualifier-list before 'node'
     node()  
     ^
0_0_13752004_3539.c: In function 'insert':
0_0_13752004_3539.c:33:40: error: 'new' undeclared (first use in this function)
                 cur->child[str[i]-'a']=new NODE;  
                                        ^
0_0_13752004_3539.c:33:40: note: each undeclared identifier is reported only once for each function it appears in
0_0_13752004_3539.c:33:44: error: expected ';' before 'NODE'
                 cur->child[str[i]-'a']=new NODE;  
                                            ^
0_0_13752004_3539.c: At top level:
0_0_13752004_3539.c:41:35: error: expected ';', ',' or ')' before '&' token
 void dfs(const NODE * root,char * &str,int &max)  
                                   ^
0_0_13752004_3539.c: In function 'del':
0_0_13752004_3539.c:62:5: error: unknown type name 'delete'
     delete root;  
     ^
0_0_13752004_3539.c:62:12: error: 'root' redeclared as different kind of symbol
     delete root;  
            ^
0_0_13752004_3539.c:56:16: note: previous definition of 'root' was here
 void del(NODE *root)  
                ^
0_0_13752004_3539.c: In function 'main':
0_0_13752004_3539.c:73:20: error: 'new' undeclared (first use in this function)
         NODE *root=new NODE;  
                    ^
0_0_13752004_3539.c:73:24: error: expected ',' or ';' before 'NODE'
         NODE *root=new NODE;  
                        ^


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-23 08:48:37, Gzip enabled