Sliding Cost
https://cses.fi/problemset/task/1077
Can someone explain how to approach this problem.
I was trying to do it using pdbs and fenwick tree but it showed me tle on last 4 test cases
https://pastebin.com/3qBy2WBW
№ | Пользователь | Рейтинг |
---|---|---|
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 | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
9 | nor | 153 |
Help needed in CSES Problem
https://cses.fi/problemset/task/1077
Can someone explain how to approach this problem.
I was trying to do it using pdbs and fenwick tree but it showed me tle on last 4 test cases
https://pastebin.com/3qBy2WBW
Rev. | Язык | Кто | Когда | Δ | Комментарий | |
---|---|---|---|---|---|---|
en5 | AdnanShamsi | 2020-07-30 09:35:37 | 0 | (published) | ||
en4 | AdnanShamsi | 2020-07-30 09:35:16 | 18 | Tiny change: 'problem.\n------------------\nI was tr' -> 'problem.\n\nI was tr' | ||
en3 | AdnanShamsi | 2020-07-30 09:33:34 | 24 | Tiny change: 's problem.####\nI was tr' -> 's problem.\n------------------\nI was tr' | ||
en2 | AdnanShamsi | 2020-07-30 09:32:57 | 4 | Tiny change: 's problem.\nI was tr' -> 's problem.####\nI was tr' | ||
en1 | AdnanShamsi | 2020-07-30 09:32:03 | 281 | Initial revision (saved to drafts) |
Название |
---|