Borderou de evaluare (job #1953451)

Utilizator hrazvanHarsan Razvan hrazvan Data 4 aprilie 2017 20:32:24
Problema Aiacubiti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void calc(int*, int, int, int, int)’: user.cpp:15:26: 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(v2, 0, sizeof v2); ^ user.cpp: In function ‘int main()’: user.cpp:38:13: warning: unused variable ‘p’ [-Wunused-variable] int n, i, p[MAXN]; ^ user.cpp:39:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n); ^ user.cpp:41:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
136ms272kbIncorect0
2136ms300kbIncorect0
3Depăşit1652kbTime limit exceeded.0
4Depăşit1660kbTime limit exceeded.0
5Depăşit1672kbTime limit exceeded.0
6Depăşit1680kbTime limit exceeded.0
7Depăşit1692kbTime limit exceeded.0
8Depăşit1712kbTime limit exceeded.0
9Depăşit1728kbTime limit exceeded.0
100ms276kbOK10
Punctaj total10

Ceva nu functioneaza?