Hi, I was trying to solve this. For the first X characters, I can use maybe use KMP to find the second occurrence and thus the starting of the second word. What do I do in case of Y?
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 3845 |
2 | jiangly | 3707 |
3 | Benq | 3630 |
4 | orzdevinwang | 3573 |
5 | Geothermal | 3569 |
5 | cnnfls_csy | 3569 |
7 | jqdai0815 | 3532 |
8 | ecnerwala | 3501 |
9 | gyh20 | 3447 |
10 | Rebelz | 3409 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | maomao90 | 171 |
2 | awoo | 163 |
2 | adamant | 163 |
4 | maroonrk | 152 |
5 | nor | 151 |
5 | -is-this-fft- | 151 |
7 | TheScrasse | 147 |
7 | atcoder_official | 147 |
9 | Petr | 145 |
10 | pajenegod | 144 |
Strings Problem.
Hi, I was trying to solve this. For the first X characters, I can use maybe use KMP to find the second occurrence and thus the starting of the second word. What do I do in case of Y?
Rev. | Язык | Кто | Когда | Δ | Комментарий | |
---|---|---|---|---|---|---|
en5 |
![]() |
coder_1560 | 2017-03-09 12:02:36 | 113 | ||
en4 |
![]() |
coder_1560 | 2017-03-09 12:01:28 | 499 | ||
en3 |
![]() |
coder_1560 | 2017-02-24 18:03:17 | 0 | Tiny change: ' problem. My approa' -> ' problem. My approa' | |
en2 |
![]() |
coder_1560 | 2017-02-24 18:02:22 | 36 | Tiny change: '.pdf.html). For the ' -> '.pdf.html) problem. My approach was to use KMP. For the ' | |
en1 |
![]() |
coder_1560 | 2017-02-24 06:49:54 | 252 | Initial revision (published) |
Название |
---|