Pagini recente » Borderou de evaluare (job #2212348) | Borderou de evaluare (job #126491) | Borderou de evaluare (job #471117) | Borderou de evaluare (job #978163) | Borderou de evaluare (job #1434489)
Borderou de evaluare (job #1434489)
Raport evaluator
Compilare:
user.cpp: In function ‘void addUser(char*, arb*)’:
user.cpp:37:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*c == NULL){
^
user.cpp:42:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->next[(*c)] == NULL){
^
user.cpp:45:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod->next[(*c)] = fiu;
^
user.cpp:47:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
addUser(c+1,nod->next[(*c)]);
^
user.cpp: In function ‘void updateUser(char*, arb*, int)’:
user.cpp:53:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*c == NULL){
^
user.cpp:58:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod->maxi[(*c)] = max(nod->maxi[(*c)],rel);
^
user.cpp:58:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod->maxi[(*c)] = max(nod->maxi[(*c)],rel);
^
user.cpp:60:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
updateUser(c+1,nod->next[(*c)],rel);
^
user.cpp: In function ‘void findUser(char*, arb*)’:
user.cpp:66:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*c == NULL)
^
user.cpp:71:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->next[(*c)] == NULL and nod->next[tolower(*c)] == NULL and nod->next[toupper(*c)] == NULL )
^
user.cpp:74:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->next[(*c)] != NULL){
^
user.cpp:77:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
findUser( c+1,nod->next[(*c)]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 164ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |