Nu aveti permisiuni pentru a descarca fisierul grader_eval.cpp
Borderou de evaluare (job #2761335)
| Utilizator | Data | 1 iulie 2021 18:13:59 | |
|---|---|---|---|
| Problema | Trie | Status | done |
| Runda | Arhiva educationala | Compilator | c-32 | Vezi sursa |
| Scor | 0 | ||
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 | 5ms | 131kb | Incorect | 0 | 0 |
| 8 | 8ms | 131kb | Incorect | 0 | 0 |
| 9 | 14ms | 393kb | Incorect | 0 | 0 |
| 10 | 20ms | 1048kb | Incorect | 0 | 0 |
| 11 | 24ms | 262kb | Incorect | 0 | 0 |
| 12 | 42ms | 2228kb | Incorect | 0 | 0 |
| 13 | 48ms | 1835kb | Incorect | 0 | 0 |
| 14 | 46ms | 524kb | Incorect | 0 | 0 |
| 15 | 45ms | 524kb | Incorect | 0 | 0 |
| 16 | 137ms | 15073kb | Incorect | 0 | |
| 17 | 68ms | 262kb | Incorect | 0 | 0 |
| 18 | 109ms | 11010kb | Incorect | 0 | |
| 19 | 72ms | 262kb | Incorect | 0 | 0 |
| 20 | 158ms | 20054kb | Incorect | 0 | |
| Punctaj total | 0 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
