Borderou de evaluare (job #2628214)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:25:71: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
seg[k][i][j]=max(seg[k-1][i][j], seg[k-1][i][j + (1<<k-1)], seg[k-1][i + (1<<k-1)][j], seg[k-1][i + (1<<k-1)][j + (1<<k-1)]);
~^~
main.c:25:95: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
seg[k][i][j]=max(seg[k-1][i][j], seg[k-1][i][j + (1<<k-1)], seg[k-1][i + (1<<k-1)][j], seg[k-1][i + (1<<k-1)][j + (1<<k-1)]);
~^~
main.c:25:122: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
seg[k][i][j]=max(seg[k-1][i][j], seg[k-1][i][j + (1<<k-1)], seg[k-1][i + (1<<k-1)][j], seg[k-1][i + (1<<k-1)][j + (1<<k-1)]);
~^~
main.c:25:136: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
seg[k][i][j]=max(seg[k-1][i][j], seg[k-1][i][j + (1<<k-1)], seg[k-1][i + (1<<k-1)][j], seg[k-1][i + (1<<k-1)][j + (1<<k-1)]);
~^~
main.c:15:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &m);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:20:13: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &seg[0][i][j]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:29:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d", &i, &j, &k);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 3ms | 393kb | OK | 10 | 10 |
3 | 5ms | 786kb | OK | 10 | 10 |
4 | 9ms | 1310kb | OK | 10 | 10 |
5 | 18ms | 2097kb | OK | 10 | 10 |
6 | 35ms | 2883kb | OK | 10 | 50 |
7 | 66ms | 4718kb | OK | 10 |
8 | 107ms | 6684kb | OK | 10 |
9 | 157ms | 8519kb | OK | 10 |
10 | 168ms | 8650kb | OK | 10 |
Punctaj total | 100 |