Borderou de evaluare (job #1953450)

Utilizator hrazvanHarsan Razvan hrazvan Data 4 aprilie 2017 20:32:00
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
13292ms284kbIncorect0
2Depăşit296kbTime limit exceeded.0
3Depăşit1340kbTime limit exceeded.0
4Depăşit1340kbTime limit exceeded.0
5Depăşit1348kbTime limit exceeded.0
6Depăşit1356kbTime limit exceeded.0
7Depăşit1364kbTime limit exceeded.0
8Depăşit1388kbTime limit exceeded.0
9Depăşit1396kbTime limit exceeded.0
10156ms292kbOK10
Punctaj total10

Ceva nu functioneaza?