Borderou de evaluare (job #2410794)

Utilizator cyg_TheoPruteanu Theodor cyg_Theo Data 20 aprilie 2019 12:14:40
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int find_p(trie*, char*, int)': main.cpp:46:12: warning: NULL used in arithmetic [-Wpointer-arith] if(*s==NULL) ^~~~ main.cpp: In function 'int main()': main.cpp:59:15: error: 'gets' was not declared in this scope gets(s); ^ main.cpp:54:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("trie.in","r",stdin); ^ main.cpp:55:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("trie.out","w",stdout); ^ Non zero exit status: 1

Ceva nu functioneaza?