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_17419742_13041.c:2:3: error: expected identifier or '(' before numeric constant
   2 #include <string.h>
   ^
0_0_17419742_13041.c:2:5: error: stray '#' in program
   2 #include <string.h>
     ^
0_0_17419742_13041.c:3:5: error: stray '#' in program
   3 #include <ctype.h>
     ^
0_0_17419742_13041.c:5:5: error: stray '#' in program
   5 #define  TC   26
     ^
0_0_17419742_13041.c:6:5: error: stray '#' in program
   6 #define  TM   400000
     ^
0_0_17419742_13041.c:7:5: error: stray '#' in program
   7 #define  LEN  122
     ^
0_0_17419742_13041.c:8:5: error: stray '#' in program
   8 #define  LIM  90000
     ^
0_0_17419742_13041.c:11:2: error: expected identifier or '(' before numeric constant
  11 char buf[ LIM ][ LEN ];
  ^
0_0_17419742_13041.c:12:2: error: expected identifier or '(' before numeric constant
  12 
  ^
0_0_17419742_13041.c:19:2: error: expected identifier or '(' before numeric constant
  19 typedef struct _Trie Trie;
  ^
0_0_17419742_13041.c:20:2: error: expected identifier or '(' before numeric constant
  20 
  ^
0_0_17419742_13041.c:23:2: error: unknown type name 'Trie'
  Trie  triemem[ TM ];
  ^
0_0_17419742_13041.c:23:17: error: 'TM' undeclared here (not in a function)
  Trie  triemem[ TM ];
                 ^
0_0_17419742_13041.c: In function 'trie_init':
0_0_17419742_13041.c:27:10: error: 'root' undeclared (first use in this function)
          root = NULL;
          ^
0_0_17419742_13041.c:27:10: note: each undeclared identifier is reported only once for each function it appears in
0_0_17419742_13041.c: At top level:
0_0_17419742_13041.c:31:3: error: unknown type name 'Trie'
   Trie* trie_new() {
   ^
0_0_17419742_13041.c:76:20: error: unknown type name 'Trie'
  void trie_insert( Trie **pRoot, char *str, char *pData ) {
                    ^
0_0_17419742_13041.c:101:17: error: unknown type name 'Trie'
  int trie_find( Trie *root, char *str, char **ppData ) {
                 ^


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-10-02 02:15:15, Gzip enabled