Borderou de evaluare (job #2337001)

Utilizator NeredesinI am not real Neredesin Data 5 februarie 2019 19:33:19
Problema Laundering Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void reset_array(int*)': main.cpp:29:26: warning: 'sizeof' on array function parameter 'a' will return size of 'int*' [-Wsizeof-array-argument] memset(a, 0, sizeof(a)); ^ main.cpp:28:31: note: declared here inline void reset_array(int a[]) { ^ main.cpp:29:24: 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
Punctaj total0

Ceva nu functioneaza?