Borderou de evaluare (job #1721836)

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

Raport evaluator

Compilare: user.cpp: In member function ‘void Big_Number::alloc(int)’: user.cpp:8: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:98: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:99:12: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] Dp[1-n&1][d].afisare(fout); ^ user.cpp:87: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
18msDepăşitMemory limit exceeded.0
20ms456kbOK10
30ms280kbOK10
48msDepăşitMemory limit exceeded.0
50ms280kbOK10
68msDepăşitMemory limit exceeded.0
70ms252kbOK10
84msDepăşitMemory limit exceeded.0
90ms248kbOK10
100ms272kbOK10
Punctaj total60

Ceva nu functioneaza?