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_24154068_21006.c:9:6: error: variably modified 'ch' at file scope
  int ch[maxn][sets];
      ^
0_0_24154068_21006.c:9:6: error: variably modified 'ch' at file scope
0_0_24154068_21006.c:10:6: error: variably modified 'val' at file scope
  int val[maxn];
      ^
0_0_24154068_21006.c:13:17: error: expected ':', ',', ';', '}' or '__attribute__' before '{' token
  int idx(char c){return c - 'a';}
                 ^
0_0_24154068_21006.c:53:1: error: unknown type name 'trie'
 trie t;
 ^
0_0_24154068_21006.c: In function 'main':
0_0_24154068_21006.c:58:3: error: request for member 'init' in something not a structure or union
  t.init();
   ^
0_0_24154068_21006.c:66:4: error: request for member 'insert' in something not a structure or union
   t.insert(buf);
    ^
0_0_24154068_21006.c:71:18: error: request for member 'query' in something not a structure or union
   printf("%d\n",t.query(buf));
                  ^


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-17 09:49:46, Gzip enabled