Borderou de evaluare (job #2165687)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 13 martie 2018 13:08:48
Problema Zidar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:37: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] if(dp[1 - lin & 1][l][r][p - (j - i + 1)] > 0) ^ user.cpp:48:87: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] dp[lin & 1][i][j][p] = min(dp[lin & 1][i][j][p], dp[1 - lin & 1][l][r][p - (j - i + 1)] + mat[lin][j] - mat[lin][i - 1]); ^ user.cpp:17:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d %d %d " ,&n,&m,&nr,&cst); ^ user.cpp:20:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&mat[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms4244kbOK10
24ms4072kbOK10
38ms4064kbOK10
436ms3968kbIncorect0
544ms4020kbOK10
644ms4060kbOK10
7Depăşit3888kbTime limit exceeded.0
8Depăşit3868kbTime limit exceeded.0
9Depăşit3616kbTime limit exceeded.0
10Depăşit3628kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?