Borderou de evaluare (job #1953442)

Utilizator hrazvanHarsan Razvan hrazvan Data 4 aprilie 2017 20:30:06
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
1Depăşit328kbTime limit exceeded.0
2Depăşit340kbTime limit exceeded.0
3Depăşit1416kbTime limit exceeded.0
4Depăşit1416kbTime limit exceeded.0
5Depăşit1428kbTime limit exceeded.0
6Depăşit1440kbTime limit exceeded.0
7Depăşit1456kbTime limit exceeded.0
8Depăşit1468kbTime limit exceeded.0
9Depăşit1488kbTime limit exceeded.0
102160ms328kbOK10
Punctaj total10

Ceva nu functioneaza?