Pagini recente » Profil SilviuPartnoi | Borderou de evaluare (job #2198652) | Borderou de evaluare (job #2553285) | Borderou de evaluare (job #887948) | Borderou de evaluare (job #3120959)
Borderou de evaluare (job #3120959)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:138:76: warning: array subscript 1 is above array bounds of 'int[1][10005]' [-Warray-bounds]
138 | partial_points_matrix[i % 2][w] = partial_points_matrix[1][w];
| ~~~~~~~~~~~~~~~~~~~~~^~~
main.c:84:5: note: while referencing 'partial_points_matrix'
84 | int partial_points_matrix[1][10005];
| ^~~~~~~~~~~~~~~~~~~~~
main.c:136:109: warning: array subscript 1 is above array bounds of 'int[1][10005]' [-Warray-bounds]
136 | partial_points_matrix[i % 2][w] = max(partial_points_matrix[1][w], partial_points_matrix[1][w - obj[i - 1].weight] + obj[i - 1].use_rating);
| ~~~~~~~~~~~~~~~~~~~~~^~~
main.c:84:5: note: while referencing 'partial_points_matrix'
84 | int partial_points_matrix[1][10005];
| ^~~~~~~~~~~~~~~~~~~~~
main.c:136:80: warning: array subscript 1 is above array bounds of 'int[1][10005]' [-Warray-bounds]
136 | partial_points_matrix[i % 2][w] = max(partial_points_matrix[1][w], partial_points_matrix[1][w - obj[i - 1].weight] + obj[i - 1].use_rating);
| ~~~~~~~~~~~~~~~~~~~~~^~~
main.c:84:5: note: while referencing 'partial_points_matrix'
84 | int partial_points_matrix[1][10005];
| ^~~~~~~~~~~~~~~~~~~~~
main.c:129:42: warning: array subscript 1 is above array bounds of 'int[1][10005]' [-Warray-bounds]
129 | partial_points_matrix[i % 2][w] = partial_points_matrix[0][w];
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
main.c:84:5: note: while referencing 'partial_points_matrix'
84 | int partial_points_matrix[1][10005];
| ^~~~~~~~~~~~~~~~~~~~~
main.c:127:42: warning: array subscript 1 is above array bounds of 'int[1][10005]' [-Warray-bounds]
127 | partial_points_matrix[i % 2][w] = max(partial_points_matrix[0][w], partial_points_matrix[0][w - obj[i - 1].weight] + obj[i - 1].use_rating);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~
main.c:84:5: note: while referencing 'partial_points_matrix'
84 | int partial_points_matrix[1][10005];
| ^~~~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 303kb | OK | 5 | 10 |
| 2 | 0ms | 303kb | OK | 5 |
| 3 | 0ms | 303kb | Wall time limit exceeded | 0 | 0 |
| 4 | 0ms | 303kb | OK | 5 |
| 5 | 0ms | 303kb | OK | 5 |
| 6 | 0ms | 303kb | Wall time limit exceeded | 0 | 0 |
| 7 | 0ms | 303kb | Wall time limit exceeded | 0 |
| 8 | 1ms | 303kb | Wall time limit exceeded | 0 | 0 |
| 9 | 1ms | 303kb | Wall time limit exceeded | 0 |
| 10 | 1ms | 303kb | Wall time limit exceeded | 0 |
| 11 | 11ms | 303kb | Wall time limit exceeded | 0 | 0 |
| 12 | 10ms | 303kb | Wall time limit exceeded | 0 |
| 13 | 10ms | 303kb | Wall time limit exceeded | 0 |
| 14 | 9ms | 430kb | Killed by Signal 11 | 0 | 0 |
| 15 | 9ms | 434kb | Killed by Signal 11 | 0 |
| 16 | 10ms | 430kb | Killed by Signal 11 | 0 |
| 17 | 20ms | 303kb | Wall time limit exceeded | 0 | 0 |
| 18 | 10ms | 430kb | Killed by Signal 11 | 0 |
| 19 | 10ms | 434kb | Killed by Signal 11 | 0 |
| 20 | 4ms | 425kb | Killed by Signal 11 | 0 |
| Punctaj total | 10 |