Pagini recente » Borderou de evaluare (job #79275) | Borderou de evaluare (job #212469) | Borderou de evaluare (job #1257082) | Borderou de evaluare (job #1920353) | Borderou de evaluare (job #1972045)
Borderou de evaluare (job #1972045)
Raport evaluator
Compilare:
user.cpp: In function ‘void extend_tree(const char*, int, Node*&, int&, int&, int&, int*)’:
user.cpp:55:48: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(active_node->children[s[active_edge]] == NULL)
^
user.cpp:57:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
active_node->children[s[active_edge]] = new Node(pos, END);
^
user.cpp:67:62: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Node* next = active_node->children[s[active_edge]];
^
user.cpp:86:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
active_node->children[s[active_edge]] = split;
^
user.cpp:88:35: warning: array subscript has type ‘char’ [-Wchar-subscripts]
split->children[s[pos]] = new Node(pos, END);
^
user.cpp:90:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
split->children[s[next->start]] = next;
^
user.cpp: In function ‘int isSubstring(Node*, const char*, const char*, int)’:
user.cpp:157:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(node->children[ss[pos]] != NULL)
^
user.cpp:158:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return isSubstring(node->children[ss[pos]], s, ss,pos);
^
user.cpp:168:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pos == strlen(ss)-1)
^
user.cpp:174:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(node->children[ss[pos]] != NULL)
^
user.cpp:175:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return isSubstring(node->children[ss[pos]], s, ss,pos);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 96ms | Depăşit | Memory limit exceeded. | 0 |
2 | Depăşit | 40920kb | Time limit exceeded. | 0 |
3 | 0ms | 444kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 440kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 12ms | 476kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 24ms | 508kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 44ms | 536kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 48ms | 560kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 48ms | 564kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 48ms | 552kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |