Pagini recente » Borderou de evaluare (job #2849913) | Borderou de evaluare (job #2693127) | Borderou de evaluare (job #1165174) | Borderou de evaluare (job #1098349) | Borderou de evaluare (job #2579359)
Borderou de evaluare (job #2579359)
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:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(curr->nxt[c] == 0) break;
^
main.cpp:63:31: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
main.cpp:64: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:73:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < s.size(); ++i) {
~~^~~~~~~~~~
main.cpp:75:27: warning: array subscript has type 'char' [-Wchar-subscripts]
if(curr->nxt[c] == 0) break;
^
main.cpp:76:31: warning: array subscript has type 'char' [-Wchar-subscripts]
curr = curr->nxt[c];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 5 | 5 |
2 | 2ms | 131kb | OK | 5 | 5 |
3 | 3ms | 131kb | OK | 5 | 5 |
4 | 3ms | 131kb | OK | 5 | 5 |
5 | 3ms | 131kb | OK | 5 | 5 |
6 | 4ms | 131kb | OK | 5 | 5 |
7 | 7ms | 262kb | OK | 5 | 5 |
8 | 8ms | 262kb | OK | 5 | 5 |
9 | 14ms | 524kb | Incorect | 0 | 0 |
10 | 17ms | 1441kb | OK | 5 | 5 |
11 | 24ms | 262kb | OK | 5 | 5 |
12 | 44ms | 2752kb | Incorect | 0 | 0 |
13 | 51ms | 2359kb | Incorect | 0 | 0 |
14 | 48ms | 786kb | OK | 5 | 5 |
15 | 58ms | 655kb | OK | 5 | 0 |
16 | 132ms | 19791kb | Incorect | 0 |
17 | 55ms | 262kb | Incorect | 0 | 0 |
18 | 142ms | 14680kb | Incorect | 0 |
19 | 70ms | 262kb | OK | 5 | 0 |
20 | 153ms | 25559kb | Incorect | 0 |
Punctaj total | 55 |