Borderou de evaluare (job #2313190)
Utilizator | Data | 6 ianuarie 2019 12:18:11 | |
---|---|---|---|
Problema | Aho-Corasick | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In constructor 'Nod::Nod()':
main.cpp:17:33: error: 'memset' was not declared in this scope
memset(fii,0,sizeof(fii));
^
main.cpp: In function 'void addToTree(int)':
main.cpp:36:18: error: 'strlen' was not declared in this scope
int l=strlen(cuv);
^
main.cpp: In function 'void searchText()':
main.cpp:93:16: error: 'strlen' was not declared in this scope
int m=strlen(T);
^
main.cpp: In function 'int main()':
main.cpp:110:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ahocorasick.in","r",stdin);
^
main.cpp:112:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ahocorasick.out","w",stdout);
^
main.cpp:114:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",T);
^
main.cpp:115:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
main.cpp:124:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",cuv);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !