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_17419739_30316.cpp:2:5: error: stray '#' in program
   2 #include <string.h>
     ^
0_0_17419739_30316.cpp:3:5: error: stray '#' in program
   3 #include <ctype.h>
     ^
0_0_17419739_30316.cpp:5:5: error: stray '#' in program
   5 #define  TC   26
     ^
0_0_17419739_30316.cpp:6:5: error: stray '#' in program
   6 #define  TM   400000
     ^
0_0_17419739_30316.cpp:7:5: error: stray '#' in program
   7 #define  LEN  122
     ^
0_0_17419739_30316.cpp:8:5: error: stray '#' in program
   8 #define  LIM  90000
     ^
0_0_17419739_30316.cpp:2:3: error: expected unqualified-id before numeric constant
   2 #include <string.h>
   ^
0_0_17419739_30316.cpp:11:2: error: expected unqualified-id before numeric constant
  11 char buf[ LIM ][ LEN ];
  ^
0_0_17419739_30316.cpp:12:2: error: expected unqualified-id before numeric constant
  12 
  ^
0_0_17419739_30316.cpp:19:2: error: expected unqualified-id before numeric constant
  19 typedef struct _Trie Trie;
  ^
0_0_17419739_30316.cpp:20:2: error: expected unqualified-id before numeric constant
  20 
  ^
0_0_17419739_30316.cpp:23:2: error: 'Trie' does not name a type
  Trie  triemem[ TM ];
  ^
0_0_17419739_30316.cpp: In function 'void trie_init()':
0_0_17419739_30316.cpp:27:10: error: 'root' was not declared in this scope
          root = NULL;
          ^
0_0_17419739_30316.cpp: At global scope:
0_0_17419739_30316.cpp:31:3: error: 'Trie' does not name a type
   Trie* trie_new() {
   ^
0_0_17419739_30316.cpp: In function 'void getValue(char*)':
0_0_17419739_30316.cpp:60:35: error: 'isprint' was not declared in this scope
           } while ( (!isprint( ch )) || (ch=='=') || (ch==' ') || (ch=='\n') || (ch=='\t') );
                                   ^
0_0_17419739_30316.cpp: At global scope:
0_0_17419739_30316.cpp:76:20: error: variable or field 'trie_insert' declared void
  void trie_insert( Trie **pRoot, char *str, char *pData ) {
                    ^
0_0_17419739_30316.cpp:76:20: error: 'Trie' was not declared in this scope
0_0_17419739_30316.cpp:76:27: error: 'pRoot' was not declared in this scope
  void trie_insert( Trie **pRoot, char *str, char *pData ) {
                           ^
0_0_17419739_30316.cpp:76:34: error: expected primary-expression before 'char'
  void trie_insert( Trie **pRoot, char *str, char *pData ) {
                                  ^
0_0_17419739_30316.cpp:76:45: error: expected primary-expression before 'char'
  void trie_insert( Trie **pRoot, char *str, char *pData ) {
                                             ^


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