Borderou de evaluare (job #1894735)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 27 februarie 2017 14:02:01
Problema Factoriale Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void conversie(int*, int)’: user.cpp:28: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 ‘int main()’: user.cpp:44:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("factoriale.in","r",stdin); ^ user.cpp:45:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("factoriale.out","w",stdout); ^ user.cpp:46:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:49:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms588kbOK10
20ms440kbOK10
30ms592kbOK10
40ms592kbIncorect0
50ms588kbIncorect0
60ms588kbIncorect0
70ms588kbIncorect0
80ms588kbIncorect0
9Depăşit592kbTime limit exceeded.0
10Depăşit548kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?