Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #942115) | Borderou de evaluare (job #2362393) | Borderou de evaluare (job #3358908) | Borderou de evaluare (job #3358900)
Borderou de evaluare (job #3358900)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:79:20: warning: iteration 200005 invokes undefined behavior [-Waggressive-loop-optimizations]
79 | max_val[x] = tree[1];
| ~~~~~~~~~~~^~~~~~~~~
main.cpp:70:22: note: within this loop
70 | for(int x = 0; x <= MAX_COORD; x++) {
| ~~^~~~~~~~~~~~
main.cpp:84:14: warning: iteration 200004 invokes undefined behavior [-Waggressive-loop-optimizations]
84 | L[x] = max(L[x - 1], max_val[x]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:83:22: note: within this loop
83 | for(int x = 1; x <= MAX_COORD; x++) {
| ~~^~~~~~~~~~~~
main.cpp:117:20: warning: iteration 200005 invokes undefined behavior [-Waggressive-loop-optimizations]
117 | max_val[y] = tree[1];
| ~~~~~~~~~~~^~~~~~~~~
main.cpp:108:22: note: within this loop
108 | for(int y = 0; y <= MAX_COORD; y++) {
| ~~^~~~~~~~~~~~
main.cpp:122:14: warning: iteration 200004 invokes undefined behavior [-Waggressive-loop-optimizations]
122 | L[y] = max(L[y - 1], max_val[y]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:121:22: note: within this loop
121 | for(int y = 1; y <= MAX_COORD; y++) {
| ~~^~~~~~~~~~~~
main.cpp:86:37: warning: array subscript 200005 is above array bounds of 'int [200005]' [-Warray-bounds]
86 | R[MAX_COORD] = max_val[MAX_COORD];
| ~~~~~~~~~~~~~~~~~^
main.cpp:16:27: note: while referencing 'max_val'
16 | int L[200005], R[200005], max_val[200005];
| ^~~~~~~
main.cpp:86:16: warning: array subscript 200005 is above array bounds of 'int [200005]' [-Warray-bounds]
86 | R[MAX_COORD] = max_val[MAX_COORD];
| ~~~~~~~~~~~^
main.cpp:16:16: note: while referencing 'R'
16 | int L[200005], R[200005], max_val[200005];
| ^
main.cpp:124:37: warning: array subscript 200005 is above array bounds of 'int [200005]' [-Warray-bounds]
124 | R[MAX_COORD] = max_val[MAX_COORD];
| ~~~~~~~~~~~~~~~~~^
main.cpp:16:27: note: while referencing 'max_val'
16 | int L[200005], R[200005], max_val[200005];
| ^~~~~~~
main.cpp:124:16: warning: array subscript 200005 is above array bounds of 'int [200005]' [-Warray-bounds]
124 | R[MAX_COORD] = max_val[MAX_COORD];
| ~~~~~~~~~~~^
main.cpp:16:16: note: while referencing 'R'
16 | int L[200005], R[200005], max_val[200005];
| ^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 8945kb | OK | 5 |
| 2 | 6ms | 10780kb | OK | 5 |
| 3 | 5ms | 10780kb | OK | 5 |
| 4 | 6ms | 10780kb | OK | 5 |
| 5 | 6ms | 10780kb | OK | 5 |
| 6 | 4ms | 9469kb | OK | 5 |
| 7 | 4ms | 8421kb | OK | 5 |
| 8 | 6ms | 10780kb | OK | 5 |
| 9 | 7ms | 10780kb | OK | 5 |
| 10 | 6ms | 10780kb | OK | 5 |
| 11 | 6ms | 10780kb | OK | 5 |
| 12 | 84ms | 11849kb | OK | 5 |
| 13 | 88ms | 11804kb | OK | 5 |
| 14 | 84ms | 11878kb | OK | 5 |
| 15 | 88ms | 12025kb | OK | 5 |
| 16 | 84ms | 11808kb | OK | 5 |
| 17 | 128ms | 12455kb | OK | 5 |
| 18 | 163ms | 12976kb | OK | 5 |
| 19 | 158ms | 13008kb | OK | 5 |
| 20 | 168ms | 13000kb | OK | 5 |
| Punctaj total | 100 |