Pagini recente » Borderou de evaluare (job #1809507) | Borderou de evaluare (job #1718225) | Borderou de evaluare (job #372661) | Borderou de evaluare (job #1260105) | Borderou de evaluare (job #992357)
Borderou de evaluare (job #992357)
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 | 628kb | OK | 5 |
2 | 4ms | 552kb | OK | 5 |
3 | 4ms | 464kb | OK | 5 |
4 | 0ms | 236kb | OK | 5 |
5 | 0ms | 308kb | OK | 5 |
6 | 4ms | 940kb | OK | 5 |
7 | 40ms | 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 | 36ms | Depăşit | Memory limit exceeded. | 0 |
13 | 28ms | Depăşit | Memory limit exceeded. | 0 |
14 | 32ms | Depăşit | Memory limit exceeded. | 0 |
15 | 28ms | Depăşit | Memory limit exceeded. | 0 |
16 | 32ms | Depăşit | Memory limit exceeded. | 0 |
17 | 28ms | Depăşit | Memory limit exceeded. | 0 |
18 | 28ms | 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 |