Pagini recente »
Borderou de evaluare (job #636000)
|
Borderou de evaluare (job #96271)
|
Borderou de evaluare (job #174809)
|
Borderou de evaluare (job #547366)
|
Borderou de evaluare (job #638463)
Borderou de evaluare (job #638463)
Raport evaluator
Compilare:
main.cpp: In function 'void DP()':
main.cpp:20:22: warning: unused variable 'x' [-Wunused-variable]
20 | int i, j, M = 0, x, h, sum;
| ^
main.cpp:20:25: warning: unused variable 'h' [-Wunused-variable]
20 | int i, j, M = 0, x, h, sum;
| ^
main.cpp:50:27: warning: array subscript 3 is above array bounds of 'int [3][50003]' [-Warray-bounds]
50 | M = max(M, dp[3][i]);
| ~~~~~~~^
main.cpp:8:8: note: while referencing 'dp'
8 | int n, dp[3][50003], a[50003], k;
| ^~
main.cpp:50:24: warning: array subscript 3 is above array bounds of 'int [3][50003]' [-Warray-bounds]
50 | M = max(M, dp[3][i]);
| ~~~~^
main.cpp:8:8: note: while referencing 'dp'
8 | int n, dp[3][50003], a[50003], k;
| ^~
main.cpp:46:35: warning: array subscript 3 is above array bounds of 'int [3][50003]' [-Warray-bounds]
46 | dp[3][i] = max(dp[3][i], sum + dp[2][j]);
| ~~~~~~~^
main.cpp:8:8: note: while referencing 'dp'
8 | int n, dp[3][50003], a[50003], k;
| ^~
main.cpp:46:32: warning: array subscript 3 is above array bounds of 'int [3][50003]' [-Warray-bounds]
46 | dp[3][i] = max(dp[3][i], sum + dp[2][j]);
| ~~~~^
main.cpp:8:8: note: while referencing 'dp'
8 | int n, dp[3][50003], a[50003], k;
| ^~
main.cpp:46:17: warning: array subscript 3 is above array bounds of 'int [3][50003]' [-Warray-bounds]
46 | dp[3][i] = max(dp[3][i], sum + dp[2][j]);
| ~~~~^
main.cpp:8:8: note: while referencing 'dp'
8 | int n, dp[3][50003], a[50003], k;
| ^~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Killed by Signal 11
|
0
|
2
|
1 ms
|
249 kb
|
Killed by Signal 11
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
245 kb
|
Killed by Signal 11
|
0
|
5
|
103 ms
|
249 kb
|
Time limit exceeded
|
0
|
6
|
107 ms
|
512 kb
|
Time limit exceeded
|
0
|
7
|
106 ms
|
380 kb
|
Time limit exceeded
|
0
|
8
|
103 ms
|
380 kb
|
Time limit exceeded
|
0
|
9
|
105 ms
|
512 kb
|
Time limit exceeded
|
0
|
10
|
106 ms
|
774 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
0
|