Borderou de evaluare (job #2135371)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 18 februarie 2018 19:42:56
Problema Trie Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In constructor ‘trie::trie()’: user.cpp:15:19: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] cnt_words = NULL; ^ user.cpp:16:22: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null] cnt_children = NULL; ^ user.cpp: In function ‘int delete_word(trie*, char*)’: user.cpp:48:30: warning: NULL used in arithmetic [-Wpointer-arith] if( Node -> cnt_words == NULL && Node -> cnt_children == NULL && Node != Root ) { ^ user.cpp:48:62: warning: NULL used in arithmetic [-Wpointer-arith] if( Node -> cnt_words == NULL && Node -> cnt_children == NULL && Node != Root ) { ^ user.cpp: In function ‘int main()’: user.cpp:80:37: 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 ); ^ user.cpp:81:37: 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); ^ user.cpp:84:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%s", String ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms884kbOK55
20ms900kbOK55
30ms908kbOK55
40ms900kbOK55
50ms896kbOK55
60ms912kbOK55
74ms940kbOK55
84ms940kbOK55
912ms1200kbOK55
1016ms2120kbOK55
1120ms1004kbOK55
1236ms3428kbOK55
1344ms2972kbOK55
1444ms1404kbOK55
1552ms1348kbOK50
1684msDepăşitMemory limit exceeded.0
1772ms932kbOK510
18128ms14268kbOK5
1964ms944kbOK50
2084msDepăşitMemory limit exceeded.0
Punctaj total80

Ceva nu functioneaza?