Borderou de evaluare (job #980491)

Utilizator danalex97Dan H Alexandru danalex97 Data 4 august 2013 19:47:02
Problema Bifo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void get(int*, char*)’: user.cpp:17: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(A,0,sizeof(A)); ^ user.cpp: In function ‘void get(int*, int*)’: user.cpp:25: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(A,0,sizeof(A)); ^ user.cpp: In function ‘void get(int*, int)’: user.cpp:32: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(A,0,sizeof(A)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms592kbIncorect0
24ms592kbIncorect0
34ms580kbKilled by signal 11(SIGSEGV).0
44ms580kbKilled by signal 11(SIGSEGV).0
54ms584kbKilled by signal 11(SIGSEGV).0
64ms580kbKilled by signal 11(SIGSEGV).0
74ms580kbKilled by signal 11(SIGSEGV).0
84ms584kbKilled by signal 11(SIGSEGV).0
94ms588kbKilled by signal 11(SIGSEGV).0
104ms596kbOK10
Punctaj total10

Ceva nu functioneaza?