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_27110258_11026.c:6:6: error: variably modified 'ch' at file scope
  int ch[maxnode][sigma_size];
      ^
0_0_27110258_11026.c:6:6: error: variably modified 'ch' at file scope
0_0_27110258_11026.c:8:6: error: variably modified 'num' at file scope
  int num[maxnode];
      ^
0_0_27110258_11026.c:9:2: error: expected specifier-qualifier-list before 'Trie'
  Trie(){ 
  ^
0_0_27110258_11026.c:47:1: error: unknown type name 'Trie'
 Trie T;
 ^
0_0_27110258_11026.c: In function 'main':
0_0_27110258_11026.c:55:4: error: request for member 'insert' in something not a structure or union
   T.insert(s,1);
    ^
0_0_27110258_11026.c:59:18: error: request for member 'search' in something not a structure or union
   printf("%d\n",T.search(s));
                  ^


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 13:24:05, Gzip enabled