Pagini recente » Borderou de evaluare (job #2116860) | Borderou de evaluare (job #2402548) | Borderou de evaluare (job #2808479) | Borderou de evaluare (job #2454610) | Borderou de evaluare (job #2641242)
Borderou de evaluare (job #2641242)
Raport evaluator
Compilare:
main.cpp: In member function 'void Trie::add(std::__cxx11::string)':
main.cpp:34:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(++i!=s.size() && x->next[s[i]-'a']!=NULL)///search until end of word or node not allocated
~~~^~~~~~~~~~
main.cpp:37:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i!=s.size())///word is not already in trie => new descendant
~^~~~~~~~~~
main.cpp:41:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(++i!=s.size())///allocate new nodes until end of word
~~~^~~~~~~~~~
main.cpp: In member function 'void Trie::cut(std::__cxx11::string)':
main.cpp:57:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(++i!=s.size() && x->next[s[i]-'a']!=NULL)///search until end of word
~~~^~~~~~~~~~
main.cpp: In member function 'int Trie::operator[](std::__cxx11::string)':
main.cpp:80:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(++i!=s.size() && x->next[s[i]-'a']!=NULL)///search until end of word or node not allocated
~~~^~~~~~~~~~
main.cpp:83:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i!=s.size())///word not in trie
~^~~~~~~~~~
main.cpp: In member function 'int Trie::prefix(std::__cxx11::string)':
main.cpp:94:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(++i!=s.size() && x->next[s[i]-'a']!=NULL)///search until end of word or node not allocated
~~~^~~~~~~~~~
main.cpp: In function 'void solve()':
main.cpp:125:12: warning: statement has no effect [-Wunused-value]
aux;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 131kb | Incorect | 0 | 0 |
| 2 | 3ms | 131kb | OK | 5 | 5 |
| 3 | 3ms | 131kb | OK | 5 | 5 |
| 4 | 3ms | 131kb | OK | 5 | 5 |
| 5 | 4ms | 131kb | OK | 5 | 5 |
| 6 | 5ms | 131kb | OK | 5 | 5 |
| 7 | 7ms | 262kb | OK | 5 | 5 |
| 8 | 9ms | 262kb | OK | 5 | 5 |
| 9 | 14ms | 524kb | Incorect | 0 | 0 |
| 10 | 21ms | 1441kb | OK | 5 | 5 |
| 11 | 24ms | 262kb | OK | 5 | 5 |
| 12 | 44ms | 3014kb | Incorect | 0 | 0 |
| 13 | 51ms | 2490kb | Incorect | 0 | 0 |
| 14 | 48ms | 786kb | OK | 5 | 5 |
| 15 | 56ms | 786kb | OK | 5 | 0 |
| 16 | 149ms | 20316kb | Incorect | 0 |
| 17 | 66ms | 262kb | Incorect | 0 | 0 |
| 18 | 139ms | 14942kb | Incorect | 0 |
| 19 | 56ms | 393kb | OK | 5 | 0 |
| 20 | 168ms | 27262kb | Incorect | 0 |
| Punctaj total | 50 |