Pagini recente » Borderou de evaluare (job #1230026) | Borderou de evaluare (job #1438189) | Borderou de evaluare (job #45611) | Borderou de evaluare (job #2611368) | Borderou de evaluare (job #2165847)
Borderou de evaluare (job #2165847)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:84: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
dp[lin & 1][i][j][p] = min(dp[lin & 1][i][j][p], aux[1 - lin & 1][l][i][p - (j - i + 1)] + mat[lin][j] - mat[lin][i - 1]);
^
user.cpp:59:84: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
dp[lin & 1][i][j][p] = min(dp[lin & 1][i][j][p], aux[1 - lin & 1][l][l][p - (j - i + 1)] + mat[lin][j] - mat[lin][i - 1]);
^
user.cpp:18: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:21: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 |
1 | 4ms | 2764kb | OK | 10 |
2 | 4ms | 2992kb | OK | 10 |
3 | 4ms | 2776kb | OK | 10 |
4 | 8ms | 3060kb | OK | 10 |
5 | 8ms | 2860kb | OK | 10 |
6 | 12ms | 2868kb | OK | 10 |
7 | 40ms | 3352kb | OK | 10 |
8 | 28ms | 3164kb | OK | 10 |
9 | 48ms | 3468kb | OK | 10 |
10 | 52ms | 3448kb | OK | 10 |
Punctaj total | 100 |