Borderou de evaluare (job #1721854)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 26 iunie 2016 17:07:16
Problema Expozitie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In constructor ‘Big_Number::Big_Number()’: user.cpp:27:29: 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(this,0,sizeof(this)); ^ user.cpp: In function ‘int main()’: user.cpp:101:28: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] Dp[i&1][j]=Dp[1-i&1][j]+Dp[i&1][j-1]; ^ user.cpp:102:12: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] Dp[1-n&1][d].afisare(fout); ^ user.cpp:90:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d%d" ,&n,&d,&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms1364kbOK10
20ms372kbOK10
30ms280kbOK10
412msDepăşitMemory limit exceeded.0
50ms280kbOK10
612msDepăşitMemory limit exceeded.0
70ms260kbOK10
84ms1264kbOK10
90ms256kbOK10
100ms272kbOK10
Punctaj total80

Ceva nu functioneaza?