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 | Benq | 3792 |
| 2 | VivaciousAubergine | 3647 |
| 3 | Kevin114514 | 3603 |
| 4 | jiangly | 3583 |
| 5 | strapple | 3515 |
| 6 | tourist | 3470 |
| 7 | dXqwq | 3436 |
| 8 | Radewoosh | 3415 |
| 9 | Otomachi_Una | 3413 |
| 10 | Um_nik | 3376 |
| Страны | Города | Организации | Всё → |
| № | Пользователь | Вклад |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | adamant | 152 |
| 3 | Um_nik | 146 |
| 4 | Dominater069 | 144 |
| 5 | errorgorn | 141 |
| 6 | cry | 139 |
| 7 | Proof_by_QED | 136 |
| 8 | YuukiS | 135 |
| 9 | chromate00 | 134 |
| 9 | TheScrasse | 134 |
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) |
| Название |
|---|


