Borderou de evaluare (job #1953457)

Utilizator hrazvanHarsan Razvan hrazvan Data 4 aprilie 2017 20:34:15
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
1512ms280kbIncorect0
22160ms336kbIncorect0
3Depăşit1428kbTime limit exceeded.0
4Depăşit1416kbTime limit exceeded.0
5Depăşit1440kbTime limit exceeded.0
6Depăşit1452kbTime limit exceeded.0
7Depăşit1460kbTime limit exceeded.0
8Depăşit1480kbTime limit exceeded.0
9Depăşit1488kbTime limit exceeded.0
1020ms276kbOK10
Punctaj total10

Ceva nu functioneaza?