Pagini recente » Borderou de evaluare (job #2068531) | Borderou de evaluare (job #2196506) | Borderou de evaluare (job #2953108) | Borderou de evaluare (job #1334620) | Borderou de evaluare (job #993070)
Borderou de evaluare (job #993070)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(trie*)’:
user.cpp:37:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->care[map[*p]] == 0)
^
user.cpp:37:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->care[map[*p]] == 0)
^
user.cpp:40:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod->care[map[*p]] = nod->fi;
^
user.cpp:40:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod->care[map[*p]] = nod->fi;
^
user.cpp:43:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return add(nod->next[nod->care[map[*p]]]);
^
user.cpp:43:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return add(nod->next[nod->care[map[*p]]]);
^
user.cpp: In function ‘void show(trie*, char*)’:
user.cpp:54:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->care[map[fnd[i]]])
^
user.cpp:54:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->care[map[fnd[i]]])
^
user.cpp:57:48: warning: array subscript has type ‘char’ [-Wchar-subscripts]
show(nod->next[nod->care[map[fnd[i]]]],st+1);
^
user.cpp:57:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
show(nod->next[nod->care[map[fnd[i]]]],st+1);
^
user.cpp: In function ‘int main()’:
user.cpp:70:36: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null]
memset(first,NULL,sizeof(first));
^
user.cpp:76:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(map[*p] == 0)
^
user.cpp:78:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
map[*p] = ++f;
^
user.cpp:79:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fnd[f] = *p;
^
user.cpp:82:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(first[map[*p]] == 0)
^
user.cpp:82:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(first[map[*p]] == 0)
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 632kb | OK | 5 |
| 2 | 4ms | 552kb | OK | 5 |
| 3 | 4ms | 460kb | OK | 5 |
| 4 | 0ms | 236kb | OK | 5 |
| 5 | 0ms | 304kb | OK | 5 |
| 6 | 4ms | 936kb | OK | 5 |
| 7 | 36ms | Depăşit | Memory limit exceeded. | 0 |
| 8 | 28ms | Depăşit | Memory limit exceeded. | 0 |
| 9 | 28ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 28ms | Depăşit | Memory limit exceeded. | 0 |
| 11 | 32ms | Depăşit | Memory limit exceeded. | 0 |
| 12 | 40ms | Depăşit | Memory limit exceeded. | 0 |
| 13 | 28ms | Depăşit | Memory limit exceeded. | 0 |
| 14 | 36ms | Depăşit | Memory limit exceeded. | 0 |
| 15 | 32ms | Depăşit | Memory limit exceeded. | 0 |
| 16 | 36ms | Depăşit | Memory limit exceeded. | 0 |
| 17 | 32ms | Depăşit | Memory limit exceeded. | 0 |
| 18 | 32ms | Depăşit | Memory limit exceeded. | 0 |
| 19 | 28ms | Depăşit | Memory limit exceeded. | 0 |
| 20 | 28ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 30 |