Borderou de evaluare (job #1560702)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 3 ianuarie 2016 00:25:23
Problema Trie Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

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
10ms272kbOK55
20ms280kbOK55
30ms280kbOK55
40ms284kbOK55
50ms280kbOK55
60ms288kbOK55
74ms300kbOK55
84ms296kbOK55
98ms440kbOK55
1012ms940kbOK55
1116ms332kbOK55
1228ms1632kbOK55
1336ms1392kbOK55
1436ms544kbOK55
1548ms520kbOK510
1692ms10104kbOK5
1764ms304kbOK510
1896ms7440kbOK5
1960ms300kbOK510
20108ms13488kbOK5
Punctaj total100

Ceva nu functioneaza?