This is the problem of [cses coin piles](https://cses.fi/problemset/task/1754). I wanted to know can this problem be generalized? like for removing p coins from left pile and q coins from right pile and vice versa.
| Rev. | Язык | Кто | Когда | Δ | Комментарий | |
|---|---|---|---|---|---|---|
| en3 |
|
death_bringer | 2026-02-01 15:47:26 | 123 | ||
| en2 |
|
death_bringer | 2026-02-01 15:29:58 | 7 | ||
| en1 |
|
death_bringer | 2026-02-01 15:11:29 | 251 | Initial revision (published) |