Pagini recente » Borderou de evaluare (job #214014) | Borderou de evaluare (job #2593605) | Borderou de evaluare (job #1032691) | Borderou de evaluare (job #722135) | Borderou de evaluare (job #2820108)
Borderou de evaluare (job #2820108)
Raport evaluator
Compilare:
main.cpp: In member function 'void Trie::Add(char*)':
main.cpp:32:30: warning: array subscript has type 'char' [-Wchar-subscripts]
32 | if(p -> child[s[i]] == NULL) {
| ~~~^
main.cpp:33:31: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | p -> child[s[i]] = new Node();
| ~~~^
main.cpp:35:31: warning: array subscript has type 'char' [-Wchar-subscripts]
35 | p = p -> child[s[i]];
| ~~~^
main.cpp: In member function 'void Trie::Erase(Trie::Node*, char*)':
main.cpp:47:29: warning: array subscript has type 'char' [-Wchar-subscripts]
47 | Erase(p -> child[s[0]], s + 1);
| ~~~^
main.cpp:48:26: warning: array subscript has type 'char' [-Wchar-subscripts]
48 | if(p -> child[s[0]] -> cnt == 0) {
| ~~~^
main.cpp:49:40: warning: array subscript has type 'char' [-Wchar-subscripts]
49 | Node *temp = p -> child[s[0]];
| ~~~^
main.cpp:51:27: warning: array subscript has type 'char' [-Wchar-subscripts]
51 | p -> child[s[0]] = NULL;
| ~~~^
main.cpp: In member function 'int Trie::Count(char*)':
main.cpp:62:30: warning: array subscript has type 'char' [-Wchar-subscripts]
62 | if(p -> child[s[i]] != NULL)
| ~~~^
main.cpp:63:35: warning: array subscript has type 'char' [-Wchar-subscripts]
63 | p = p -> child[s[i]];
| ~~~^
main.cpp: In member function 'int Trie::maxP(char*)':
main.cpp:71:30: warning: array subscript has type 'char' [-Wchar-subscripts]
71 | if(p -> child[s[i]] != NULL)
| ~~~^
main.cpp:72:35: warning: array subscript has type 'char' [-Wchar-subscripts]
72 | p = p -> child[s[i]];
| ~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 184kb | Killed by Signal 11 | 0 | 0 |
2 | 35ms | 8650kb | OK | 10 |
3 | 2ms | 184kb | Killed by Signal 11 | 0 |
4 | 2ms | 184kb | Killed by Signal 11 | 0 |
5 | 2ms | 184kb | Killed by Signal 11 | 0 |
6 | 2ms | 184kb | Killed by Signal 11 | 0 |
7 | 29ms | 13115kb | Memory limit exceeded | 0 |
8 | 2ms | 184kb | Killed by Signal 11 | 0 |
9 | 2ms | 262kb | Killed by Signal 11 | 0 |
10 | 2ms | 184kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |