Hi :)
Given n can you find a uniformly random correct bracket sequence with 2 * n characters?
(uniformly random means all possible answer for the problem have same probability for the outcome of the algorithm)
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 3880 |
2 | jiangly | 3669 |
3 | ecnerwala | 3654 |
4 | Benq | 3627 |
5 | orzdevinwang | 3612 |
6 | Geothermal | 3569 |
6 | cnnfls_csy | 3569 |
8 | jqdai0815 | 3532 |
9 | Radewoosh | 3522 |
10 | gyh20 | 3447 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | awoo | 161 |
1 | maomao90 | 161 |
3 | adamant | 156 |
4 | maroonrk | 153 |
5 | -is-this-fft- | 148 |
5 | SecondThread | 148 |
7 | atcoder_official | 147 |
7 | Petr | 147 |
9 | nor | 144 |
10 | TheScrasse | 142 |
A random problem!
Hi :)
Given n can you find a uniformly random correct bracket sequence with 2 * n characters?
(uniformly random means all possible answer for the problem have same probability for the outcome of the algorithm)
Rev. | Язык | Кто | Когда | Δ | Комментарий | |
---|---|---|---|---|---|---|
en4 |
![]() |
SaSa | 2016-07-06 17:47:16 | 1 | Tiny change: 'characters?<br>\n(un' -> 'characters ?<br>\n(un' | |
en3 |
![]() |
SaSa | 2016-06-29 15:57:17 | 1 | Tiny change: 'characters ?<br>\n(un' -> 'characters?<br>\n(un' | |
en2 |
![]() |
SaSa | 2016-06-29 15:56:38 | 1 | Tiny change: 'characters?<br>\n(un' -> 'characters ?<br>\n(un' | |
en1 |
![]() |
SaSa | 2016-06-28 19:39:20 | 238 | Initial revision (published) |
Название |
---|