Borderou de evaluare (job #992357)

Utilizator titel1titi dan titel1 Data 1 septembrie 2013 18:13:08
Problema Incantatii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

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
14ms628kbOK5
24ms552kbOK5
34ms464kbOK5
40ms236kbOK5
50ms308kbOK5
64ms940kbOK5
740msDepăşitMemory limit exceeded.0
828msDepăşitMemory limit exceeded.0
928msDepăşitMemory limit exceeded.0
1028msDepăşitMemory limit exceeded.0
1132msDepăşitMemory limit exceeded.0
1236msDepăşitMemory limit exceeded.0
1328msDepăşitMemory limit exceeded.0
1432msDepăşitMemory limit exceeded.0
1528msDepăşitMemory limit exceeded.0
1632msDepăşitMemory limit exceeded.0
1728msDepăşitMemory limit exceeded.0
1828msDepăşitMemory limit exceeded.0
1928msDepăşitMemory limit exceeded.0
2028msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?