Borderou de evaluare (job #1894744)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 27 februarie 2017 14:13:58
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
10ms628kbOK10
20ms436kbOK10
30ms628kbOK10
40ms628kbIncorect0
50ms632kbIncorect0
60ms628kbIncorect0
70ms628kbIncorect0
80ms632kbIncorect0
9Depăşit628kbTime limit exceeded.0
10Depăşit584kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?