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_30522654_26339.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_30522654_26339.cpp: In function 'void createTrie(char*, int)':
0_0_30522654_26339.cpp:22:30: error: invalid use of non-lvalue array
     for(int i=0;i<len;i++){ p-="" pos="s[i]-'a';">next[pos]==NULL){
                              ^
0_0_30522654_26339.cpp:22:30: error:   in evaluation of 'operator-=(struct trie*, char [1])'
0_0_30522654_26339.cpp:29:9: error: 'else' without a previous 'if'
         else{
         ^
0_0_30522654_26339.cpp: In function 'int findTrie(char*)':
0_0_30522654_26339.cpp:39:30: error: invalid use of non-lvalue array
     for(int i=0;i<len;i++){ p-="" pos="s[i]-'a';">next[pos]==NULL)
                              ^
0_0_30522654_26339.cpp:39:30: error:   in evaluation of 'operator-=(struct trie*, char [1])'
0_0_30522654_26339.cpp: In function 'void delTrie(trie*)':
0_0_30522654_26339.cpp:47:19: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<'
     for(int i=0;i<max;i++){ root-="">next[i]!=NULL)
                   ^
0_0_30522654_26339.cpp:47:44: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
     for(int i=0;i<max;i++){ root-="">next[i]!=NULL)
                                            ^
0_0_30522654_26339.cpp: In function 'int main()':
0_0_30522654_26339.cpp:54:19: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<'
     for(int i=0;i<max;i++) root-="">next[i]=NULL;
                   ^
0_0_30522654_26339.cpp:54:43: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
     for(int i=0;i<max;i++) root-="">next[i]=NULL;
                                           ^
0_0_30522654_26339.cpp:59:36: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
         for(int i=0;i<slen;i++){ aj="i+1;" ak="0;" i="0;i<slen;i++){" int="" slen="strlen(s);">='a'&&s[i]<='z')||s[i]=='\''){
                                    ^
0_0_30522654_26339.cpp:59:44: error: expected ';' before 'ak'
         for(int i=0;i<slen;i++){ aj="i+1;" ak="0;" i="0;i<slen;i++){" int="" slen="strlen(s);">='a'&&s[i]<='z')||s[i]=='\''){
                                            ^
0_0_30522654_26339.cpp:63:13: error: 'else' without a previous 'if'
             else{
             ^


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-12-02 11:58:39, Gzip enabled