Pagini recente » Borderou de evaluare (job #3226689) | Borderou de evaluare (job #3135191) | Borderou de evaluare (job #631535) | Borderou de evaluare (job #888563) | Borderou de evaluare (job #2761334)
Borderou de evaluare (job #2761334)
Raport evaluator
Compilare:
main.c: In function 'AddTrie':
main.c:29:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!p->poz[c]) {
^
main.c:30:19: warning: array subscript has type 'char' [-Wchar-subscripts]
p->poz[c] = 1;
^
main.c:31:20: warning: array subscript has type 'char' [-Wchar-subscripts]
p->next[c] = CreateNod();
^
main.c:34:27: warning: array subscript has type 'char' [-Wchar-subscripts]
last = p = p->next[c];
^
main.c:24:9: warning: unused variable 'lengh' [-Wunused-variable]
int lengh = strlen(cuv) - 1;
^~~~~
main.c: In function 'DeleteTrie':
main.c:47:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!p->poz[c])
^
main.c:54:27: warning: array subscript has type 'char' [-Wchar-subscripts]
last = p = p->next[c];
^
main.c: In function 'PrintFreg':
main.c:83:22: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!root->poz[c])
^
main.c:84:13: warning: 'return' with no value, in function returning non-void
return;
^~~~~~
main.c:75:5: note: declared here
int PrintFreg(Trie* root, char* cuv) {
^~~~~~~~~
main.c:85:33: warning: array subscript has type 'char' [-Wchar-subscripts]
last = root = root->next[c];
^
main.c:78:9: warning: unused variable 'lengh' [-Wunused-variable]
int lengh = strlen(cuv) - 1;
^~~~~
main.c: In function 'PrintPref':
main.c:98:22: warning: array subscript has type 'char' [-Wchar-subscripts]
if(!root->poz[c])
^
main.c:101:33: warning: array subscript has type 'char' [-Wchar-subscripts]
last = root = root->next[c];
^
main.c:94:11: warning: variable 'last' set but not used [-Wunused-but-set-variable]
Trie* last;
^~~~
main.c:93:35: warning: unused variable 'lgt' [-Wunused-variable]
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 | 7ms | 262kb | Incorect | 0 | 0 |
8 | 8ms | 131kb | Incorect | 0 | 0 |
9 | 14ms | 524kb | Incorect | 0 | 0 |
10 | 24ms | 1818kb | Incorect | 0 | 0 |
11 | 23ms | 262kb | Incorect | 0 | 0 |
12 | 47ms | 3538kb | Incorect | 0 | 0 |
13 | 51ms | 2883kb | Incorect | 0 | 0 |
14 | 56ms | 917kb | Incorect | 0 | 0 |
15 | 46ms | 917kb | Incorect | 0 | 0 |
16 | 135ms | 24379kb | Incorect | 0 |
17 | 95ms | 262kb | Incorect | 0 | 0 |
18 | 128ms | 17825kb | Incorect | 0 |
19 | 53ms | 262kb | Incorect | 0 | 0 |
20 | 145ms | 30494kb | Memory limit exceeded | 0 |
Punctaj total | 0 |