Borderou de evaluare (job #993070)

Utilizator titel1titi dan titel1 Data 3 septembrie 2013 10:53:12
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
14ms632kbOK5
24ms552kbOK5
34ms460kbOK5
40ms236kbOK5
50ms304kbOK5
64ms936kbOK5
736msDepăşitMemory limit exceeded.0
828msDepăşitMemory limit exceeded.0
928msDepăşitMemory limit exceeded.0
1028msDepăşitMemory limit exceeded.0
1132msDepăşitMemory limit exceeded.0
1240msDepăşitMemory limit exceeded.0
1328msDepăşitMemory limit exceeded.0
1436msDepăşitMemory limit exceeded.0
1532msDepăşitMemory limit exceeded.0
1636msDepăşitMemory limit exceeded.0
1732msDepăşitMemory limit exceeded.0
1832msDepăşitMemory limit exceeded.0
1928msDepăşitMemory limit exceeded.0
2028msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?