Borderou de evaluare (job #3209191)

Utilizator AlexPlesescuAlexPlesescu AlexPlesescu Data 2 martie 2024 10:30:18
Problema Patrate2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void atrib(long long unsigned int*, long long unsigned int*)': main.cpp:49:25: warning: 'sizeof' on array function parameter 'b' will return size of 'long long unsigned int*' [-Wsizeof-array-argument] 49 | memset(b, 0, sizeof(b)); | ~^~ main.cpp:45:25: note: declared here 45 | void atrib(int a[], int b[]) { | ^ main.cpp:49:18: 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] 49 | memset(b, 0, sizeof(b)); | ^~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms557kbIncorect0
30ms557kbIncorect0
40ms557kbIncorect0
50ms557kbIncorect0
60ms557kbIncorect0
71ms557kbIncorect0
81ms557kbIncorect0
92ms557kbIncorect0
103ms557kbIncorect0
Punctaj total10

Ceva nu functioneaza?