Pagini recente » Borderou de evaluare (job #263657) | Borderou de evaluare (job #892321) | Borderou de evaluare (job #454008) | Borderou de evaluare (job #3238785) | Borderou de evaluare (job #1434668)
Borderou de evaluare (job #1434668)
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:92:14: warning: NULL used in arithmetic [-Wpointer-arith]
if(*c == NULL)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 476ms | 103160kb | Incorect | 0 |
Punctaj total | 0 |