Pagini recente » Borderou de evaluare (job #645150) | Borderou de evaluare (job #1603131) | Borderou de evaluare (job #687174) | Borderou de evaluare (job #2162683) | Borderou de evaluare (job #1600366)
Borderou de evaluare (job #1600366)
Raport evaluator
Compilare:
user.cpp: In constructor ‘nrx_state_machine::trie::trie()’:
user.cpp:334:27: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
cnt_words = NULL;
^
user.cpp:335:30: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
cnt_children = NULL;
^
user.cpp:336:33: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
cnt_occurrences = NULL;
^
user.cpp: In member function ‘void nrx_state_machine::insert_word(nrx_state_machine::trie*, char*)’:
user.cpp:348:31: warning: NULL used in arithmetic [-Wpointer-arith]
if( *my_string == NULL ) {
^
user.cpp: In member function ‘bool nrx_state_machine::delete_word(nrx_state_machine::trie*, char*)’:
user.cpp:364:31: warning: NULL used in arithmetic [-Wpointer-arith]
if( *my_string == NULL ) node -> cnt_words --; else
^
user.cpp:368:57: warning: NULL used in arithmetic [-Wpointer-arith]
if( node != root && node -> cnt_children == NULL && node -> cnt_words == NULL ) {
^
user.cpp:368:86: warning: NULL used in arithmetic [-Wpointer-arith]
if( node != root && node -> cnt_children == NULL && node -> cnt_words == NULL ) {
^
user.cpp: In member function ‘int nrx_state_machine::count_word(nrx_state_machine::trie*, char*)’:
user.cpp:378:31: warning: NULL used in arithmetic [-Wpointer-arith]
if( *my_string == NULL )
^
user.cpp: In member function ‘int nrx_state_machine::longest_prefix(nrx_state_machine::trie*, char*, int)’:
user.cpp:389:31: warning: NULL used in arithmetic [-Wpointer-arith]
if( *my_string == NULL )
^
user.cpp: In member function ‘void nrx_state_machine::reset_machine(nrx_state_machine::trie*)’:
user.cpp:400:37: warning: converting to non-pointer type ‘int’ from NULL [-Wconversion-null]
node -> cnt_occurrences = NULL;
^
user.cpp: In member function ‘void nrx_state_machine::build_occurrences(nrx_state_machine::trie*, char*)’:
user.cpp:442:31: warning: NULL used in arithmetic [-Wpointer-arith]
if( *my_string == NULL )
^
user.cpp: In member function ‘void nrx_state_machine::build_partial_sum(nrx_state_machine::trie*)’:
user.cpp:458:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( int i = 0; i < node -> front_node.size(); i ++ ) {
^
user.cpp: In member function ‘int nrx_state_machine::count_occurrences(nrx_state_machine::trie*, char*)’:
user.cpp:468:31: warning: NULL used in arithmetic [-Wpointer-arith]
if( *my_string == NULL )
^
user.cpp: In instantiation of ‘nrx_segment_tree<Type>::tree_node::tree_node() [with Type = int]’:
user.cpp:715:8: required from here
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 248kb | OK | 10 | 10 |
2 | 4ms | 340kb | OK | 10 | 10 |
3 | 8ms | 500kb | OK | 10 | 10 |
4 | 24ms | 964kb | OK | 10 | 10 |
5 | 48ms | 5668kb | OK | 10 | 10 |
6 | 60ms | 7168kb | OK | 10 | 50 |
7 | 116ms | 7912kb | OK | 10 |
8 | 140ms | 6984kb | OK | 10 |
9 | 144ms | 7584kb | OK | 10 |
10 | 148ms | 7920kb | OK | 10 |
Punctaj total | 100 |