Given an array $$$a=[a_1,\,a_2,\,a_3,...,\,a_n]$$$ and a fixed windows size $k$,define sliding window $I_{j,\,(j \geq k)} := [a_{j-k+1}, a_{j-k+2}, ..., a_j].
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 164 |
1 | maomao90 | 164 |
3 | Um_nik | 163 |
4 | atcoder_official | 160 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
8 | Dominater069 | 154 |
8 | nor | 154 |
Sorting sliding windows online
Given an array $$$a=[a_1,\,a_2,\,a_3,...,\,a_n]$$$ and a fixed windows size $k$,define sliding window $I_{j,\,(j \geq k)} := [a_{j-k+1}, a_{j-k+2}, ..., a_j].
Rev. | Язык | Кто | Когда | Δ | Комментарий | |
---|---|---|---|---|---|---|
en15 | div4only | 2023-02-08 10:36:54 | 0 | (published) | ||
en14 | div4only | 2023-02-08 10:36:46 | 1 | Tiny change: 'unded data stream ins' -> 'unded datastream ins' (saved to drafts) | ||
en13 | div4only | 2023-02-08 10:36:35 | 8 | Tiny change: 'j$ before $a_{j+1}$' -> 'j$ before reading $a_{j+1}$' | ||
en12 | div4only | 2023-02-08 09:55:46 | 4 | Tiny change: 'Given an 1-index integer a' -> 'Given an $1$-indexed integer a' | ||
en11 | div4only | 2023-02-08 09:51:24 | 18 | Tiny change: 'to answer the following queries:\n\nHow m' -> 'to answer a query:\n\nHow m' | ||
en10 | div4only | 2023-02-08 09:40:41 | 0 | (published) | ||
en9 | div4only | 2023-02-08 09:40:28 | 22 | (saved to drafts) | ||
en8 | div4only | 2023-02-08 09:35:26 | 0 | (published) | ||
en7 | div4only | 2023-02-08 09:35:02 | 4 | Tiny change: 'owing query:\n\nHow m' -> 'owing queries:\n\nHow m' (saved to drafts) | ||
en6 | div4only | 2023-02-08 09:34:38 | 0 | (published) | ||
en5 | div4only | 2023-02-08 09:34:12 | 507 | |||
en4 | div4only | 2023-02-08 09:29:31 | 182 | |||
en3 | div4only | 2023-02-08 09:27:35 | 1 | Tiny change: ' ..., a_j]. ' -> ' ..., a_j]$. ' | ||
en2 | div4only | 2023-02-08 09:27:23 | 109 | |||
en1 | div4only | 2023-02-08 06:08:51 | 76 | Initial revision (saved to drafts) |
Название |
---|