Pagini recente » Borderou de evaluare (job #2186359) | Borderou de evaluare (job #897470) | Borderou de evaluare (job #2797484) | Borderou de evaluare (job #650550) | Borderou de evaluare (job #3149255)
Borderou de evaluare (job #3149255)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25:16: warning: array subscript 2 is above array bounds of 'int [2][10005]' [-Warray-bounds]
25 | fout << d[2][G];
| ~~~^
main.cpp:7:5: note: while referencing 'd'
7 | int d[2][10005];
| ^
main.cpp:22:24: warning: array subscript 2 is above array bounds of 'int [2][10005]' [-Warray-bounds]
22 | d[1][j]=d[2][j];
| ~~~^
main.cpp:7:5: note: while referencing 'd'
7 | int d[2][10005];
| ^
main.cpp:19:16: warning: array subscript 2 is above array bounds of 'int [2][10005]' [-Warray-bounds]
19 | d[2][j]=max(P[i]+d[1][j-W[i]], d[1][j]);
| ~~~^
main.cpp:7:5: note: while referencing 'd'
7 | int d[2][10005];
| ^
main.cpp:22:20: warning: 'void* __builtin_memmove(void*, const void*, long unsigned int)' offset [80040, 80043] is out of the bounds [0, 80040] of object 'd' with type 'int [2][10005]' [-Warray-bounds]
22 | d[1][j]=d[2][j];
| ~~~~~~~^~~~~~~~
main.cpp:7:5: note: 'd' declared here
7 | int d[2][10005];
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 303kb | Incorect | 0 | 0 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 0ms | 307kb | Incorect | 0 | 0 |
| 4 | 0ms | 303kb | Incorect | 0 |
| 5 | 0ms | 303kb | Incorect | 0 |
| 6 | 0ms | 303kb | Incorect | 0 | 0 |
| 7 | 0ms | 303kb | Incorect | 0 |
| 8 | 1ms | 303kb | Incorect | 0 | 0 |
| 9 | 0ms | 303kb | Incorect | 0 |
| 10 | 0ms | 303kb | Incorect | 0 |
| 11 | 4ms | 303kb | Incorect | 0 | 0 |
| 12 | 4ms | 303kb | Incorect | 0 |
| 13 | 4ms | 303kb | Incorect | 0 |
| 14 | 14ms | 303kb | Incorect | 0 | 0 |
| 15 | 6ms | 303kb | Incorect | 0 |
| 16 | 4ms | 303kb | Incorect | 0 |
| 17 | 8ms | 303kb | Incorect | 0 | 0 |
| 18 | 5ms | 303kb | Incorect | 0 |
| 19 | 9ms | 303kb | Incorect | 0 |
| 20 | 8ms | 303kb | Incorect | 0 |
| Punctaj total | 0 |