Borderou de evaluare (job #2440553)
Utilizator | Data | 18 iulie 2019 17:37:01 | |
---|---|---|---|
Problema | Aho-Corasick | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:29:14: error: 'gets' was not declared in this scope
gets(v[i]);
^
main.cpp:79:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int it= 0;it!=u->id.size();++it )
~~^~~~~~~~~~~~~~
main.cpp:21:38: 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:22: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:23:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",c);
^
main.cpp:24:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !