Pagini recente » Borderou de evaluare (job #1928845) | Borderou de evaluare (job #2233018) | preONI 2007, Runda 4, Clasa a 10-a | Borderou de evaluare (job #2569653) | Borderou de evaluare (job #3233289)
Borderou de evaluare (job #3233289)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:49: warning: array subscript 2 is above array bounds of 'int [2][2005]' [-Warray-bounds]
28 | for (int i = 1; i <= n; ++i) dp[1][i] = dp[2][i] = 0;
| ~~~~^
main.cpp:8:27: note: while referencing 'dp'
8 | int n, v[nmax], v2[nmax], dp[2][nmax];
| ^~
main.cpp:28:54: warning: 'void* __builtin_memset(void*, int, long unsigned int)' offset 16044 is out of the bounds [0, 16040] of object 'dp' with type 'int [2][2005]' [-Warray-bounds]
28 | for (int i = 1; i <= n; ++i) dp[1][i] = dp[2][i] = 0;
| ~~~~~~~~~^~~
main.cpp:8:27: note: 'dp' declared here
8 | int n, v[nmax], v2[nmax], dp[2][nmax];
| ^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | OK | 10 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 0ms | 303kb | Incorect | 0 |
| 4 | 0ms | 303kb | Incorect | 0 |
| 5 | 0ms | 303kb | Incorect | 0 |
| 6 | 0ms | 303kb | Incorect | 0 |
| 7 | 1ms | 303kb | Incorect | 0 |
| 8 | 2ms | 303kb | Incorect | 0 |
| 9 | 4ms | 303kb | Incorect | 0 |
| 10 | 7ms | 303kb | Incorect | 0 |
| Punctaj total | 10 |