Borderou de evaluare (job #2698517)
Raport evaluator
Compilare:
main.cpp: In function 'void init(trie*, int, int)':
main.cpp:39:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j == c[ind].size())
~~^~~~~~~~~~~~~~~~
main.cpp:42:28: warning: array subscript has type 'char' [-Wchar-subscripts]
if (nod -> f[bij[c[ind][j]]] == NULL)
^
main.cpp:42:29: warning: array subscript has type 'char' [-Wchar-subscripts]
if (nod -> f[bij[c[ind][j]]] == NULL)
^
main.cpp:44:25: warning: array subscript has type 'char' [-Wchar-subscripts]
nod -> f[bij[c[ind][j]]] = new trie;
^
main.cpp:44:26: warning: array subscript has type 'char' [-Wchar-subscripts]
nod -> f[bij[c[ind][j]]] = new trie;
^
main.cpp:45:25: warning: array subscript has type 'char' [-Wchar-subscripts]
nod -> f[bij[c[ind][j]]] -> rasp = ind;
^
main.cpp:45:26: warning: array subscript has type 'char' [-Wchar-subscripts]
nod -> f[bij[c[ind][j]]] -> rasp = ind;
^
main.cpp:47:30: warning: array subscript has type 'char' [-Wchar-subscripts]
init (nod -> f[bij[c[ind][j]]], ind, j+1);
^
main.cpp:47:31: warning: array subscript has type 'char' [-Wchar-subscripts]
init (nod -> f[bij[c[ind][j]]], ind, j+1);
^
main.cpp: In function 'void update(trie*, char*, int)':
main.cpp:56:28: warning: array subscript has type 'char' [-Wchar-subscripts]
update (nod -> f[bij[c[0]]], c+1, ind);
^
main.cpp:56:29: warning: array subscript has type 'char' [-Wchar-subscripts]
update (nod -> f[bij[c[0]]], c+1, ind);
^
main.cpp: In function 'int query(trie*, char*)':
main.cpp:65:24: warning: array subscript has type 'char' [-Wchar-subscripts]
if (nod -> f[bij[c[0]]] == NULL)
^
main.cpp:65:25: warning: array subscript has type 'char' [-Wchar-subscripts]
if (nod -> f[bij[c[0]]] == NULL)
^
main.cpp:67:34: warning: array subscript has type 'char' [-Wchar-subscripts]
return query (nod -> f[bij[c[0]]], c+1);
^
main.cpp:67:35: warning: array subscript has type 'char' [-Wchar-subscripts]
return query (nod -> f[bij[c[0]]], c+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 495ms | 131088kb | Memory limit exceeded | 0 |
Punctaj total | 0 |