| № | Пользователь | Рейтинг |
|---|---|---|
| 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 | 157 |
| 2 | adamant | 152 |
| 3 | Proof_by_QED | 146 |
| 3 | Um_nik | 146 |
| 5 | Dominater069 | 144 |
| 6 | errorgorn | 141 |
| 7 | cry | 139 |
| 8 | YuukiS | 135 |
| 9 | TheScrasse | 134 |
| 10 | chromate00 | 133 |
|
+8
NRolly will win IOI2022! |
|
+26
Well, what I do is... This works since when |
|
+56
These are the ones going from Peru:
|
|
+9
Now got it. Don't use "endl", use "\n" instead. |
|
0
It is RTE, try "resize" instead of "reserve". |
|
+12
I got accepted. It is only dp[x][y][z] // x : cur_plate, y : fullness, z = happiness. Firstly, I did simply that and got MLE. My AC code below. |
|
+10
dp[x][y]: Number of particles that bounce in the x-th plane with y ages passed from the beginning. So, if (y & 1) then all those are bouncing to the left, and to the right otherwise. It is not difficult to notice that if(y & 1) that leads to the other case is analogous. Finally, I need to add dp[i][j] to ans for all i < n && j <= k, those are the cases when those particles don't bounce. |
|
+29
Obviously, 111382908 . |
|
На
neckbotov →
Разбор Технокубок 2021 - Отборочный раунд 3 + Round #692 (Div. 1 + Div. 2), 5 лет назад
0
Another approach 101883649. |
| Название |
|---|


