Pagini recente » Borderou de evaluare (job #1631177) | Borderou de evaluare (job #1677578) | Borderou de evaluare (job #2151068) | Borderou de evaluare (job #2922016) | Borderou de evaluare (job #2579343)
Borderou de evaluare (job #2579343)
Raport evaluator
Compilare:
main.cpp: In member function 'void Trie::Insert(std::__cxx11::string)':
main.cpp:26:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < s.size(); ++i) {
~~^~~~~~~~~~
main.cpp:28:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(curr->nxt[c] == 0) {
^
main.cpp:30:28: warning: array subscript has type 'char' [-Wchar-subscripts]
curr->nxt[c] = new Node();
^
main.cpp:32:31: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp:33:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i == s.size() - 1) {
~~^~~~~~~~~~~~~~~
main.cpp: In member function 'void Trie::Delete(std::__cxx11::string)':
main.cpp:42:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < s.size(); ++i) {
~~^~~~~~~~~~
main.cpp:44:31: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp:49:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i == s.size() - 1) {
~~^~~~~~~~~~~~~~~
main.cpp: In member function 'int Trie::CntAp(std::__cxx11::string)':
main.cpp:60:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < s.size(); ++i) {
~~^~~~~~~~~~
main.cpp:62:31: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp:63:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i == s.size() - 1) {
~~^~~~~~~~~~~~~~~
main.cpp: In member function 'int Trie::Prefix(std::__cxx11::string)':
main.cpp:72:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < s.size(); ++i) {
~~^~~~~~~~~~
main.cpp:74:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(curr->nxt[c] == 0) break;
^
main.cpp:75:31: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp:77:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i == s.size() - 1 && curr->val > 1) {
~~^~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Incorect | 0 | 0 |
2 | 2ms | 131kb | Incorect | 0 | 0 |
3 | 3ms | 131kb | Incorect | 0 | 0 |
4 | 3ms | 131kb | Incorect | 0 | 0 |
5 | 3ms | 131kb | Incorect | 0 | 0 |
6 | 4ms | 131kb | Incorect | 0 | 0 |
7 | 6ms | 131kb | Incorect | 0 | 0 |
8 | 7ms | 131kb | Incorect | 0 | 0 |
9 | 11ms | 393kb | Incorect | 0 | 0 |
10 | 18ms | 1441kb | Incorect | 0 | 0 |
11 | 19ms | 262kb | Incorect | 0 | 0 |
12 | 35ms | 2752kb | Incorect | 0 | 0 |
13 | 40ms | 2228kb | Incorect | 0 | 0 |
14 | 39ms | 655kb | Incorect | 0 | 0 |
15 | 45ms | 655kb | Incorect | 0 | 0 |
16 | 124ms | 19660kb | Incorect | 0 |
17 | 40ms | 131kb | Incorect | 0 | 0 |
18 | 114ms | 14548kb | Incorect | 0 |
19 | 41ms | 131kb | Incorect | 0 | 0 |
20 | 152ms | 25559kb | Incorect | 0 |
Punctaj total | 0 |