Borderou de evaluare (job #1722574)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 28 iunie 2016 14:06:43
Problema Expozitie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:51: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] nrcif=getmax(Dp[i&1][j-1].size(),Dp[1-i&1][j].size()); ^ user.cpp:31:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(k<Dp[i&1][j-1].size()) ^ user.cpp:33:26: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(k<Dp[1-i&1][j].size()) ^ user.cpp:33:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(k<Dp[1-i&1][j].size()) ^ user.cpp:34:27: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] t=t+Dp[1-i&1][j][k]; ^ user.cpp:39:21: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] for(i=Dp[1-n&1][d].size()-1;i>=0;i--) ^ user.cpp:40:36: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] fprintf(fout,"%d" ,Dp[1-n&1][d][i]); ^ user.cpp:15: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
14ms280kbOK10
20ms284kbOK10
30ms276kbOK10
452ms360kbOK10
50ms284kbOK10
660ms360kbOK10
70ms264kbOK10
84ms300kbOK10
90ms264kbOK10
100ms280kbOK10
Punctaj total100

Ceva nu functioneaza?