Borderou de evaluare (job #2276004)
Utilizator | Data | 3 noiembrie 2018 20:55:58 | |
---|---|---|---|
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:22:32: error: 'stdin' was not declared in this scope
freopen("ahocorasick.in","r",stdin);
^~~~~
main.cpp:22:37: error: 'freopen' was not declared in this scope
freopen("ahocorasick.in","r",stdin);
^
main.cpp:23:33: error: 'stdout' was not declared in this scope
freopen("ahocorasick.out","w",stdout);
^~~~~~
main.cpp:24:25: error: 'scanf' was not declared in this scope
scanf("%s %d",tx+1, &n);
^
main.cpp:25:19: error: 'strlen' was not declared in this scope
lg = strlen(tx+1);
^
main.cpp:42:26: error: 'printf' was not declared in this scope
printf("%d\n",matches);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !