Pagini recente » Borderou de evaluare (job #3184889) | Borderou de evaluare (job #604884) | Borderou de evaluare (job #431969) | Borderou de evaluare (job #2737038) | Borderou de evaluare (job #1434671)
Borderou de evaluare (job #1434671)
Raport evaluator
Compilare:
user.cpp: In constructor ‘arb::arb()’:
user.cpp:28:38: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null]
memset(next,NULL,sizeof(next));
^
user.cpp: In function ‘int getConfig(char*)’:
user.cpp:37:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(p);++i)
^
user.cpp: In function ‘void decode(std::string&)’:
user.cpp:45:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<p.size();++i)
^
user.cpp: In function ‘void addUser(char*, arb*)’:
user.cpp:55:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*c == NULL){
^
user.cpp: In function ‘void updateUser(char*, arb*, int)’:
user.cpp:73:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*c == NULL){
^
user.cpp: In function ‘void findUser(char*, arb*)’:
user.cpp:93:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*c == NULL)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 500ms | 103168kb | Incorect | 0 |
Punctaj total | 0 |