Borderou de evaluare (job #946150)

Utilizator Al3ks1002Alex Cociorva Al3ks1002 Data 3 mai 2013 22:05:51
Problema Puteri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void lgput(int*, int, int*)’: user.cpp:26:30: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] if(!x) {memset(A,0,sizeof(A)); A[0]=A[1]=1; return;} ^ user.cpp:27:22: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(B,0,sizeof(B)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms276kbOK500
212184ms288kbIncorect0
Punctaj total0

Ceva nu functioneaza?