Borderou de evaluare (job #2301385)
Utilizator | Data | 12 decembrie 2018 21:25:15 | |
---|---|---|---|
Problema | Aho-Corasick | Status | done |
Runda | Arhiva educationala | Compilator | cpp-32 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int countStr(char*)':
main.cpp:61:9: warning: variable 'table' set but not used [-Wunused-but-set-variable]
int table[26]; //bad mismatch table
^~~~~
main.cpp: In function 'int main()':
main.cpp:137:13: error: 'gets' was not declared in this scope
gets(str);
^
main.cpp:131:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(FIN, "r", stdin);
^
main.cpp:133:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen(FOUT, "w", stdout);
^
main.cpp:139:21: 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 !