Borderou de evaluare (job #2343866)

Utilizator AlexTheDagonBogdan Tudor AlexTheDagon Data 14 februarie 2019 13:51:30
Problema Perm 6 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void sub(int*, int*, int*)': main.cpp:22:24: warning: 'sizeof' on array function parameter 'C' will return size of 'int*' [-Wsizeof-array-argument] memset(C,0,sizeof(C)); ^ main.cpp:20:33: note: declared here void sub(int A[], int B[],int C[]) ^ main.cpp:22: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(C,0,sizeof(C)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms262kbOK10
33ms393kbOK10
45ms1179kbOK10
58ms2097kbOK10
618ms5111kbOK10
721ms5898kbOK10
84ms917kbOK10
938ms10485kbOK10
1051ms13500kbOK10
Punctaj total100

Ceva nu functioneaza?