Borderou de evaluare (job #1501963)

Utilizator alexpetrescuAlexandru Petrescu alexpetrescu Data 13 octombrie 2015 23:39:21
Problema Dragon Ball Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void read(int*)’: user.cpp:50:25: 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(v, 0, sizeof v); ^ user.cpp: In function ‘void copy(int*, int*)’: user.cpp:64:25: 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 ‘void dif(int*, int*, int*)’: user.cpp:71:25: 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 ‘void impart(int*, int*, int)’: user.cpp:88:25: 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:113:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d ", &n, &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK10
212ms8304kbIncorect0
34ms1104kbOK10
420ms9032kbOK10
50ms1108kbOK10
6Depăşit48020kbTime limit exceeded.0
7Depăşit8252kbTime limit exceeded.0
8Depăşit39504kbTime limit exceeded.0
9Depăşit47324kbTime limit exceeded.0
10Depăşit47164kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?