Borderou de evaluare (job #2126788)

Utilizator DavidLDavid Lauran DavidL Data 9 februarie 2018 22:55:23
Problema Provacanta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void getPs(int (*)[1005], int*, int*, int)’: user.cpp:18:24: warning: ‘sizeof’ on array function parameter ‘V’ will return size of ‘int (*)[1005]’ [-Wsizeof-array-argument] memset(V,0,sizeof(V)); ^ user.cpp:15:28: note: declared here void getPs(int V[MAXN][MAXK],int timp[],int profit[],int lungime) ^ user.cpp:18: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(V,0,sizeof(V)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1316kbIncorect00
20ms1360kbIncorect00
312ms1432kbIncorect00
420ms1504kbIncorect00
58ms1700kbIncorect00
6400ms1868kbIncorect00
7568ms1908kbIncorect00
81032ms2096kbOK100
9784ms2100kbIncorect0
10620ms2100kbIncorect0
Punctaj total0

Ceva nu functioneaza?