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_18476280_32183.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include #include using namespace std;#define N 105struct elem {    char name[25];    int tnum,xnum;    char tname[N][25];    char xname[N][25];}stu[N];struct trie {    int end;    int count;    trie *next[26];};trie *root;char add_str[N][25];char del_str[N][25];int len_add,len_del;int cmp(elem a,elem b){    return strcmp(a.name,b.name)next[ch[i]-'a'])           {               s=s-next[ch[i]-'a'];               s-count=s-count+1;           }           else          {               t=newtrie();               s-next[ch[i]-'a']=t;               s=t;               s-count=1;           }       }    s-end = 1;} int search(char *ch)   {       int i;       trie *s=root;       if(ch[0]==0) return 0;       for(i=0;ch[i];i++)       {           if(s-next[ch[i]-'a'])                  s=s-next[ch[i]-'a'];              else              break;       }      if(ch[i]==0 && s-end == 1) return s-count;       else return 0;   } void Delete(char *ch)   {       int i;       trie *s;       s=root;       for(i=0;ch[i];i++)       {           s=s-next[ch[i]-'a'];        s-count=s-count-1;    }    s-end = 0;} int main(){    int n,m,k,i,j,ttt;    char ch[25];    while (scanf("%d %d",&n,&m)!=EOF)    {        root = newtrie();        getchar();        for(i=0;i0)                    printf(" ");                ttt++;                printf("%s",stu[i].name);            }        }        if(ttt==0)            printf("None");        printf("\n");    }    return 0;}解题报告转自:http://blog.csdn.net/xiaotaoqibao/article/details/5804827                              
          ^


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 02:25:23, Gzip enabled