Pagini recente » Borderou de evaluare (job #528187) | Borderou de evaluare (job #2122281) | Borderou de evaluare (job #1361174) | Borderou de evaluare (job #2862240) | Borderou de evaluare (job #2761341)
Borderou de evaluare (job #2761341)
Raport evaluator
Compilare:
main.cpp: In function 'void AddTrie(Trie**, char*)':
main.cpp:31:21: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!p->poz[c]) {
^
main.cpp:32:21: warning: array subscript has type 'char' [-Wchar-subscripts]
p->poz[c] = 1;
^
main.cpp:33:22: warning: array subscript has type 'char' [-Wchar-subscripts]
p->next[c] = CreateNod();
^
main.cpp:36:29: warning: array subscript has type 'char' [-Wchar-subscripts]
last = p = p->next[c];
^
main.cpp:26:9: warning: unused variable 'lengh' [-Wunused-variable]
int lengh = strlen(cuv) - 1;
^~~~~
main.cpp: In function 'void DeleteTrie(Trie**, char*)':
main.cpp:49:21: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!p->poz[c])
^
main.cpp:56:29: warning: array subscript has type 'char' [-Wchar-subscripts]
last = p = p->next[c];
^
main.cpp: In function 'int PrintFreg(Trie*, char*)':
main.cpp:85:24: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!root->poz[c])
^
main.cpp:87:35: warning: array subscript has type 'char' [-Wchar-subscripts]
last = root = root->next[c];
^
main.cpp:80:9: warning: unused variable 'lengh' [-Wunused-variable]
int lengh = strlen(cuv) - 1;
^~~~~
main.cpp: In function 'int PrintPref(Trie*, char*)':
main.cpp:100:24: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!root->poz[c])
^
main.cpp:103:35: warning: array subscript has type 'char' [-Wchar-subscripts]
last = root = root->next[c];
^
main.cpp:95:9: warning: unused variable 'lenght' [-Wunused-variable]
int lenght = strlen(cuv) - 1, lgt = 0, maxfreq;
^~~~~~
main.cpp:95:35: warning: unused variable 'lgt' [-Wunused-variable]
int lenght = strlen(cuv) - 1, lgt = 0, maxfreq;
^~~
main.cpp:96:11: warning: variable 'last' set but not used [-Wunused-but-set-variable]
Trie* last;
^~~~
main.cpp: In function 'int main()':
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 | 262kb | Incorect | 0 | 0 |
8 | 8ms | 131kb | Incorect | 0 | 0 |
9 | 17ms | 593kb | Incorect | 0 | 0 |
10 | 22ms | 1703kb | Incorect | 0 | 0 |
11 | 22ms | 262kb | Incorect | 0 | 0 |
12 | 37ms | 3538kb | Incorect | 0 | 0 |
13 | 42ms | 2883kb | Incorect | 0 | 0 |
14 | 37ms | 917kb | Incorect | 0 | 0 |
15 | 55ms | 786kb | Incorect | 0 | 0 |
16 | 141ms | 24379kb | Incorect | 0 |
17 | 81ms | 262kb | Incorect | 0 | 0 |
18 | 151ms | 17825kb | Incorect | 0 |
19 | 65ms | 262kb | Incorect | 0 | 0 |
20 | 140ms | 30494kb | Memory limit exceeded | 0 |
Punctaj total | 0 |