My first blog post :) Any constructive feedback is welcome.
# | User | Rating |
---|---|---|
1 | jiangly | 3976 |
2 | tourist | 3815 |
3 | jqdai0815 | 3682 |
4 | ksun48 | 3614 |
5 | orzdevinwang | 3526 |
6 | ecnerwala | 3514 |
7 | Benq | 3482 |
8 | hos.lyric | 3382 |
9 | gamegame | 3374 |
10 | heuristica | 3357 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | -is-this-fft- | 165 |
3 | Um_nik | 161 |
3 | atcoder_official | 161 |
5 | djm03178 | 157 |
6 | Dominater069 | 156 |
7 | adamant | 154 |
8 | luogu_official | 152 |
9 | awoo | 151 |
10 | TheScrasse | 147 |
My first blog post :) Any constructive feedback is welcome.
Name |
---|
I think there is a O(N * M * 2N) solution for this problem. DP[i][j][p] = solution where we currently start at point (i, j) and the first i-bits of p belongs to the (j + 1)-column and the rest of the bits belongs to the j-column. And transitions are similar to the last solution. This utilizes the 2N different values of p and q more efficiently (since in the other solution, p cannot have zero bit before the last set bit, and q cannot have set bit after the row we currently stand in).
This is what I think is the actual idea behind broken profile dp.
can you provide a link to the iterative code for the same?
https://vjudge.net/problem/22385/origin
how to solve this
Thanks you very much
Is the blog still available? I have trouble with your link.
Sorry about that. Updated the link :)
Thanks:)
Auto comment: topic has been updated by evilbuggy (previous revision, new revision, compare).
Auto comment: topic has been updated by evilbuggy (previous revision, new revision, compare).
Auto comment: topic has been updated by evilbuggy (previous revision, new revision, compare).