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 | 3993 |
2 | jiangly | 3743 |
3 | orzdevinwang | 3707 |
4 | Radewoosh | 3627 |
5 | jqdai0815 | 3620 |
6 | Benq | 3564 |
7 | Kevin114514 | 3443 |
8 | ksun48 | 3434 |
9 | Rewinding | 3397 |
10 | Um_nik | 3396 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 155 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
10 | nor | 152 |
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) |
Название |
---|