Borderou de evaluare (job #2698512)
Raport evaluator
Compilare:
main.cpp: In function 'void init(trie*, int, int)':
main.cpp:24:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j == c[ind].size())
~~^~~~~~~~~~~~~~~~
main.cpp:30:28: warning: array subscript has type 'char' [-Wchar-subscripts]
if (nod -> f[bij[c[ind][j]]] == NULL)
^
main.cpp:30:29: warning: array subscript has type 'char' [-Wchar-subscripts]
if (nod -> f[bij[c[ind][j]]] == NULL)
^
main.cpp:32:25: warning: array subscript has type 'char' [-Wchar-subscripts]
nod -> f[bij[c[ind][j]]] = new trie;
^
main.cpp:32:26: warning: array subscript has type 'char' [-Wchar-subscripts]
nod -> f[bij[c[ind][j]]] = new trie;
^
main.cpp:33:25: warning: array subscript has type 'char' [-Wchar-subscripts]
nod -> f[bij[c[ind][j]]] -> p.second = ind;
^
main.cpp:33:26: warning: array subscript has type 'char' [-Wchar-subscripts]
nod -> f[bij[c[ind][j]]] -> p.second = ind;
^
main.cpp:35:30: warning: array subscript has type 'char' [-Wchar-subscripts]
init (nod -> f[bij[c[ind][j]]], ind, j+1);
^
main.cpp:35: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, int&)':
main.cpp:50:26: warning: array subscript has type 'char' [-Wchar-subscripts]
update(nod -> f[bij[c[0]]], c+1, x, ind);
^
main.cpp:50:27: warning: array subscript has type 'char' [-Wchar-subscripts]
update(nod -> f[bij[c[0]]], c+1, x, ind);
^
main.cpp: In function 'int query(trie*, char*)':
main.cpp:62:24: warning: array subscript has type 'char' [-Wchar-subscripts]
if (nod -> f[bij[c[0]]] == NULL)
^
main.cpp:62:25: warning: array subscript has type 'char' [-Wchar-subscripts]
if (nod -> f[bij[c[0]]] == NULL)
^
main.cpp:64:34: warning: array subscript has type 'char' [-Wchar-subscripts]
return query (nod -> f[bij[c[0]]], c+1);
^
main.cpp:64: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 | 454ms | 131088kb | Memory limit exceeded | 0 |
Punctaj total | 0 |