Borderou de evaluare (job #1434489)

Utilizator alexalghisiAlghisi Alessandro Paolo alexalghisi Data 10 mai 2015 18:22:16
Problema Facebook Search Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

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
1164msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?